diff --git a/Event/EventPacker/src/lib/StandardPacker.cpp b/Event/EventPacker/src/lib/StandardPacker.cpp index b35b488a24c27ee40a830f40cf26fae9aa2958e9..70a3cfe6a25a23e3b6561fa0ad6b5a3baeefdcd6 100644 --- a/Event/EventPacker/src/lib/StandardPacker.cpp +++ b/Event/EventPacker/src/lib/StandardPacker.cpp @@ -96,7 +96,7 @@ bool StandardPacker::hintAndKey32( const int data, const DataObject* source, Dat const auto* sourceLink = source->linkMgr()->link( indx ); if ( sourceLink ) { // If link is valid, saved to target and get the hint - hint = target->linkMgr()->addLink( sourceLink->path(), 0 ); + hint = target->linkMgr()->addLink( sourceLink->path(), sourceLink->object() ); // finally return status is OK OK = true; } @@ -124,7 +124,7 @@ bool StandardPacker::hintAndKey64( const std::int64_t data, const DataObject* so const auto* sourceLink = source->linkMgr()->link( indx ); if ( sourceLink ) { // If link is valid, saved to target and get the hint - hint = target->linkMgr()->addLink( sourceLink->path(), 0 ); + hint = target->linkMgr()->addLink( sourceLink->path(), sourceLink->object() ); // finally return status is OK OK = true; }