diff --git a/Event/xAOD/xAODTrigger/test/ut_xaodtrigger_trigcomposite_test.cxx b/Event/xAOD/xAODTrigger/test/ut_xaodtrigger_trigcomposite_test.cxx
index 1ba56f89912c4d3c92afcbd335b295b762812770..569d068ebeb00e7e26f8231339e4fa8201178d23 100644
--- a/Event/xAOD/xAODTrigger/test/ut_xaodtrigger_trigcomposite_test.cxx
+++ b/Event/xAOD/xAODTrigger/test/ut_xaodtrigger_trigcomposite_test.cxx
@@ -1,5 +1,5 @@
 /*
-  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
+  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
 */
 
 // $Id: ut_xaodtrigger_trigcomposite_test.cxx 761887 2016-07-14 13:16:16Z tbold $
@@ -221,7 +221,8 @@ int main() {
    xAOD::TrigComposite* obj_edm_b = new xAOD::TrigComposite();
    c_edm_b.push_back(obj_edm_b);
    // Copy
-   SG::copyAuxStoreThinned( aux_v1, aux_vlatest, 0 ); 
+   SG::copyAuxStoreThinned( aux_v1, aux_vlatest,
+                            static_cast<const SG::ThinningDecisionBase*>(nullptr)); 
 
    std::cout << "Testing initial TC object" << std::endl;
    SIMPLE_ASSERT( testObject(obj) == 0 );