diff --git a/PhysicsAnalysis/AnalysisCommon/EventUtils/src/ParticleSelectionAlg.cxx b/PhysicsAnalysis/AnalysisCommon/EventUtils/src/ParticleSelectionAlg.cxx index 13ffb26c8ca6209d683c5b9b19947cc788539be8..9d6958eb67f5b0c0b5cb6baed242bb09ded6d989 100644 --- a/PhysicsAnalysis/AnalysisCommon/EventUtils/src/ParticleSelectionAlg.cxx +++ b/PhysicsAnalysis/AnalysisCommon/EventUtils/src/ParticleSelectionAlg.cxx @@ -229,7 +229,7 @@ StatusCode ParticleSelectionAlg::start() // Now, register one CutBookkeeper per cut that will be applied. // For each of the registered tools, get the TAccept and ask it for all known cuts. for ( std::size_t toolIdx=0; toolIdx < m_selTools.size(); ++toolIdx ){ - const auto& tool = m_selTools[toolIdx]; + const ToolHandle<IAsgSelectionTool>& tool = m_selTools[toolIdx]; // Fill the index bookkeeping at what index in the CutBookkeeperContainer // the CutBookkeepers for this tool start. m_selToolIdxOffset.push_back( cutBKCont->size() );