From 6d94b41285a91c1520f88ce0decbcdc69c171fce Mon Sep 17 00:00:00 2001 From: scott snyder <sss@karma> Date: Wed, 4 Nov 2020 11:52:43 -0500 Subject: [PATCH] TrkDetDescrSvc: Fix clang warning. Spurious copy in for loop. --- .../TrkDetDescrSvc/TrkDetDescrSvc/TrackingGeometryMirror.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tracking/TrkDetDescr/TrkDetDescrSvc/TrkDetDescrSvc/TrackingGeometryMirror.h b/Tracking/TrkDetDescr/TrkDetDescrSvc/TrkDetDescrSvc/TrackingGeometryMirror.h index 8ae68a04577..cca22df5e43 100644 --- a/Tracking/TrkDetDescr/TrkDetDescrSvc/TrkDetDescrSvc/TrackingGeometryMirror.h +++ b/Tracking/TrkDetDescr/TrkDetDescrSvc/TrkDetDescrSvc/TrackingGeometryMirror.h @@ -44,7 +44,7 @@ namespace Trk { template <class T_Ostream> void dump(T_Ostream &out, const std::string &head) const { - for(const std::pair<const Layer*,int> &bound_layers : m_boundaryLayers) { + for(const std::pair<const Layer* const ,int> &bound_layers : m_boundaryLayers) { out << head << " [" << bound_layers.second << "] "; dumpLayer(out, "",bound_layers.first); } -- GitLab