From 5dca0da5cff81d09ca44565d9bc3e4f83ad9d82b Mon Sep 17 00:00:00 2001 From: John Chapman <jchapman@cern.ch> Date: Fri, 28 Aug 2020 14:35:57 +0200 Subject: [PATCH] clang-tidy fixes for G4AtlasAlg package --- Simulation/G4Atlas/G4AtlasAlg/src/G4AtlasAlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Simulation/G4Atlas/G4AtlasAlg/src/G4AtlasAlg.cxx b/Simulation/G4Atlas/G4AtlasAlg/src/G4AtlasAlg.cxx index a67569805da..6cdac043e13 100644 --- a/Simulation/G4Atlas/G4AtlasAlg/src/G4AtlasAlg.cxx +++ b/Simulation/G4Atlas/G4AtlasAlg/src/G4AtlasAlg.cxx @@ -169,7 +169,7 @@ void G4AtlasAlg::initializeOnce() // Send UI commands ATH_MSG_DEBUG("G4 Command: Trying at the end of initializeOnce()"); - for (auto g4command : m_g4commands) { + for (const auto& g4command : m_g4commands) { int returnCode = ui->ApplyCommand( g4command ); commandLog(returnCode, g4command); } -- GitLab