diff --git a/Trigger/TrigAlgorithms/TrigGenericAlgs/src/AcceptL1TopoMonitor.cxx b/Trigger/TrigAlgorithms/TrigGenericAlgs/src/AcceptL1TopoMonitor.cxx
index aac9efe5a4b8096ab826c21fdc8f77b56a570006..f52c942bef555299582ec1f972aca1688410ab1a 100644
--- a/Trigger/TrigAlgorithms/TrigGenericAlgs/src/AcceptL1TopoMonitor.cxx
+++ b/Trigger/TrigAlgorithms/TrigGenericAlgs/src/AcceptL1TopoMonitor.cxx
@@ -1,5 +1,5 @@
 /*
-  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
+  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 */
 
 #include "AcceptL1TopoMonitor.h"
@@ -415,7 +415,7 @@ HLT::ErrorCode AcceptL1TopoMonitor::hltStart()
         ATH_MSG_DEBUG( "Number of trigger lines configured "<<topoTriggers.size() );
         // Label histogram bins
         std::map<unsigned int, std::string> topoCounterToName;
-        for(const TXC::TriggerLine tl : topoTriggers) {
+        for(const TXC::TriggerLine& tl : topoTriggers) {
             ATH_MSG_VERBOSE( tl.name()<<" "<<tl.counter() );
             topoCounterToName.emplace(tl.counter(), tl.name());
         }
diff --git a/Trigger/TrigT1/L1Topo/L1TopoCoreSim/src/test/TopoStandAlone.cxx b/Trigger/TrigT1/L1Topo/L1TopoCoreSim/src/test/TopoStandAlone.cxx
index 4f9d7389549c542b19265436d61962b407dffc66..bb72b9aaf2fe4135a83e53c473753cfec83c4f6a 100644
--- a/Trigger/TrigT1/L1Topo/L1TopoCoreSim/src/test/TopoStandAlone.cxx
+++ b/Trigger/TrigT1/L1Topo/L1TopoCoreSim/src/test/TopoStandAlone.cxx
@@ -1,5 +1,5 @@
 /*
-  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
+  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 */
 #include <iostream>
 #include <vector>
@@ -68,7 +68,7 @@ int run(int argc, const char* argv[]) {
    h[2] = new TH1F("Decision/DecisionModule3", "L1 Topo Decision (Module 3)", 64, 0, 64);
 
    const std::vector<TXC::TriggerLine> & topoTriggers = XMLParser.menu().getL1TopoConfigOutputList().getTriggerLines();
-   for(const TXC::TriggerLine tl : topoTriggers) {
+   for(const TXC::TriggerLine& tl : topoTriggers) {
       h[tl.module()]->GetXaxis()->SetBinLabel(1+ tl.counter() % 64, tl.name().c_str());
    }
    for(uint i=0; i<3; ++i)