Skip to content

Commit

Permalink
Merge pull request #29973 from smuzaffar/llvm10-TrackFindingTMTT
Browse files Browse the repository at this point in the history
[LLVM10] fix llvm warning to prevent copying
  • Loading branch information
cmsbuild committed May 27, 2020
2 parents 3ffd39c + a5245ff commit dbb1490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion L1Trigger/TrackFindingTMTT/plugins/TMTrackProducer.cc
Expand Up @@ -374,7 +374,7 @@ namespace tmtt {
}
}
PrintL1trk() << "Number of tracks after HT = " << numHTtracks;
for (const auto p : mapFinalTracks) {
for (const auto& p : mapFinalTracks) {
const string& fitName = p.first;
const list<const L1fittedTrack*> fittedTracks = p.second;
PrintL1trk() << "Number of tracks after " << fitName << " track helix fit = " << fittedTracks.size();
Expand Down

0 comments on commit dbb1490

Please sign in to comment.