diff --git a/Database/AthenaPOOL/AthenaPoolCnvSvc/AthenaPoolCnvSvc/T_AuxContainerCopyTPCnv.icc b/Database/AthenaPOOL/AthenaPoolCnvSvc/AthenaPoolCnvSvc/T_AuxContainerCopyTPCnv.icc index 8959dbf91ef1e44b93c314666d506f05270fb008..cf624cdca040aace92ef0877e33912520cef3031 100644 --- a/Database/AthenaPOOL/AthenaPoolCnvSvc/AthenaPoolCnvSvc/T_AuxContainerCopyTPCnv.icc +++ b/Database/AthenaPOOL/AthenaPoolCnvSvc/AthenaPoolCnvSvc/T_AuxContainerCopyTPCnv.icc @@ -26,7 +26,8 @@ persToTrans( const OLDTYPE* oldObj, // Copy the payload of the v1 object into the latest one by misusing // the thinning code a bit... - SG::copyAuxStoreThinned( *oldObj, *newObj, 0 ); + SG::copyAuxStoreThinned( *oldObj, *newObj, + static_cast<SG::ThinningDecisionBase*>(nullptr) ); // Print what happened: if( log.level() <= MSG::DEBUG ) {