From 901a8520eaf44cbdf4e8e63e1fc133e83e458f52 Mon Sep 17 00:00:00 2001
From: Sebastien Ponce <sebastien.ponce@cern.ch>
Date: Mon, 15 Jan 2024 08:51:46 +0100
Subject: [PATCH] dropped commented lines

---
 Event/EventPacker/src/component/RelationPackers.h | 3 ---
 Event/EventPacker/src/lib/PackedTrack.cpp         | 4 ----
 2 files changed, 7 deletions(-)

diff --git a/Event/EventPacker/src/component/RelationPackers.h b/Event/EventPacker/src/component/RelationPackers.h
index d2e92047eaf..f18d21c3c18 100644
--- a/Event/EventPacker/src/component/RelationPackers.h
+++ b/Event/EventPacker/src/component/RelationPackers.h
@@ -83,9 +83,6 @@ namespace LHCb::Packers {
           ++missing_container( id );
           return tl::unexpected{Packers::ErrorCode::CONTAINER_NOT_FOUND};
         }
-        // if ( T::classID() != link->object()->clID() ) {
-        //   return tl::unexpected{Packers::ErrorCode::WRONG_CONTAINER_TYPE}; /// THIS IS WHAT GOES WRONG
-        //}
         auto const* container = dynamic_cast<T const*>( link->object() );
         if ( !container ) return tl::unexpected{Packers::ErrorCode::WRONG_CONTAINER_TYPE}; /// THIS IS WHAT GOES WRONG
         auto const* obj = container->object( key );
diff --git a/Event/EventPacker/src/lib/PackedTrack.cpp b/Event/EventPacker/src/lib/PackedTrack.cpp
index add2a058e8a..ef9f51d07da 100644
--- a/Event/EventPacker/src/lib/PackedTrack.cpp
+++ b/Event/EventPacker/src/lib/PackedTrack.cpp
@@ -142,10 +142,6 @@ StatusCode TrackPacker::unpack( const PackedData& ptrack, Data& track, const Pac
   const auto pver = getUnPackingVersion( ptracks );
   if ( !isSupportedVer( pver ) ) return StatusCode::FAILURE; // TODO: define dedicated error code
 
-  if ( parent().msgLevel( MSG::DEBUG ) ) {
-    // parent().debug() << "unpack : PackingVer=" << (int)pver << " DataVer=" << (int)ptracks.version() << endmsg;
-  }
-
   // Try and detect changes that require the cached wrap IDs to be reset.
   // trigger a reset if a new packed container is detected, or if the
   // packed track object is the first in the packed container.
-- 
GitLab