From f5492d37e2d57f5a6aca9af6239e48d751a2a3aa Mon Sep 17 00:00:00 2001
From: scott snyder <sss@karma>
Date: Wed, 16 Oct 2019 15:35:57 +0200
Subject: [PATCH] AthenaPoolCnvSvc: Fix compilation with MT thinning changes.

Update for compatibility with changes in AthContainers.
---
 .../AthenaPoolCnvSvc/T_AuxContainerCopyTPCnv.icc               | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Database/AthenaPOOL/AthenaPoolCnvSvc/AthenaPoolCnvSvc/T_AuxContainerCopyTPCnv.icc b/Database/AthenaPOOL/AthenaPoolCnvSvc/AthenaPoolCnvSvc/T_AuxContainerCopyTPCnv.icc
index 8959dbf91ef..cf624cdca04 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 ) {
-- 
GitLab