Skip to content
Snippets Groups Projects

xAODMenuWriterMT: fix cppcheck defects

Merged Frank Winklmeier requested to merge fwinkl/athena:fwinkl_20241213T120430 into main
2 files
+ 11
8
Compare changes
  • Side-by-side
  • Inline
Files
2
/*
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
*/
// Gaudi/Athena include(s):
@@ -44,6 +44,7 @@ namespace TrigConf
StatusCode xAODMenuWriterMT::initialize()
{
// cppcheck-suppress-begin danglingLifetime; cached pointers owned by store
// Greet the user:
ATH_MSG_INFO("Initialising");
@@ -120,6 +121,8 @@ namespace TrigConf
ATH_CHECK( m_metaStore->record(std::move(aux_bg), m_metaNameJSON_bg + "Aux." ) );
ATH_CHECK( m_metaStore->record(std::move(bg), m_metaNameJSON_bg ) );
// cppcheck-suppress-end danglingLifetime
// Return gracefully:
return StatusCode::SUCCESS;
}
Loading