Skip to content
Snippets Groups Projects
Commit 7a0d740e authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

xAODCore: Fix cppcheck warnings.

Suppress a couple new false positives from cppcheck 2.0.
parent f196d414
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
......
/*
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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment