diff --git a/Event/xAOD/xAODCore/Root/AuxContainerBase.cxx b/Event/xAOD/xAODCore/Root/AuxContainerBase.cxx index a2e52012736a1093594a8bcfcd0233021d0cdefb..361aca988a3ce8f065a50be8165216011b1ebf46 100644 --- a/Event/xAOD/xAODCore/Root/AuxContainerBase.cxx +++ b/Event/xAOD/xAODCore/Root/AuxContainerBase.cxx @@ -57,6 +57,7 @@ namespace xAOD { // Unfortunately the dynamic variables can not be copied this easily... if( parent.m_store ) { + // cppcheck-suppress copyCtorPointerCopying m_store = parent.m_store; m_ownsStore = false; m_storeIO = dynamic_cast< SG::IAuxStoreIO* >( m_store ); diff --git a/Event/xAOD/xAODCore/Root/AuxInfoBase.cxx b/Event/xAOD/xAODCore/Root/AuxInfoBase.cxx index b935cc7881134b086630738e6ff96d1a5f3263a4..7b436ed8022df0d5550391118a8cb3aa3cb75873 100644 --- a/Event/xAOD/xAODCore/Root/AuxInfoBase.cxx +++ b/Event/xAOD/xAODCore/Root/AuxInfoBase.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */ // $Id: AuxInfoBase.cxx 793737 2017-01-24 20:11:10Z ssnyder $ @@ -55,6 +55,7 @@ namespace xAOD { // Unfortunately the dynamic variables can not be copied this easily... if( parent.m_store ) { + // cppcheck-suppress copyCtorPointerCopying m_store = parent.m_store; m_ownsStore = false; m_storeIO = dynamic_cast< SG::IAuxStoreIO* >( m_store );