diff --git a/InnerDetector/InDetMonitoring/InDetAlignmentMonitoring/src/IDAlignMonPVBiases.cxx b/InnerDetector/InDetMonitoring/InDetAlignmentMonitoring/src/IDAlignMonPVBiases.cxx
index 26fe304998503ee91103eb009ac2a1e4ec519fb5..f544df41bb68f88a1373a18c55c1f629872d5505 100644
--- a/InnerDetector/InDetMonitoring/InDetAlignmentMonitoring/src/IDAlignMonPVBiases.cxx
+++ b/InnerDetector/InDetMonitoring/InDetAlignmentMonitoring/src/IDAlignMonPVBiases.cxx
@@ -1,5 +1,5 @@
 /*
-  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
+  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
 */
 
 // **********************************************************************
@@ -526,7 +526,7 @@ StatusCode IDAlignMonPVBiases::fillHistograms()
   *******************************************************************/
   for (; track_itr!=track_itrE; ++track_itr) {
     const xAOD::Vertex* foundVertex = nullptr;
-    for (const auto& vx : *vertices)
+    for (const auto vx : *vertices)
     {
       for (const auto& tpLink : vx->trackParticleLinks())
       {