From d31e41e762e6bbacf38d519aeabbeb903a5573b5 Mon Sep 17 00:00:00 2001
From: scott snyder <sss@karma>
Date: Thu, 5 Aug 2021 12:40:57 -0400
Subject: [PATCH] DecisionHandling: Fix clang warning.

Spurious copy in range-for.
---
 Trigger/TrigSteer/DecisionHandling/src/ComboHypoToolBase.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Trigger/TrigSteer/DecisionHandling/src/ComboHypoToolBase.cxx b/Trigger/TrigSteer/DecisionHandling/src/ComboHypoToolBase.cxx
index 2ef980bba9ac..efc062e09dce 100644
--- a/Trigger/TrigSteer/DecisionHandling/src/ComboHypoToolBase.cxx
+++ b/Trigger/TrigSteer/DecisionHandling/src/ComboHypoToolBase.cxx
@@ -267,7 +267,7 @@ StatusCode ComboHypoToolBase::printDebugInformation(const Combo::LegDecisionsMap
     // Only print for this chain
     if (id == m_decisionId or (isLegId(id) and m_decisionId == getIDFromLeg(id))) { 
       ATH_MSG_DEBUG("-- " << HLT::Identifier(id) << " with " << ELV.size() << " elements");
-      for (const auto& EL : ELV) {
+      for (const auto EL : ELV) {
         ATH_MSG_DEBUG("-- -- container:" << EL.dataID() << ", index:" << EL.index());
       }
     }
-- 
GitLab