Skip to content
Snippets Groups Projects
Commit ce03f129 authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

InDetAlignmentMonitoring: Fix clang warnings.

    
Don't use references in a range-for if the object must be copised.
parent 6b0cd0ed
No related branches found
No related tags found
No related merge requests found
/*
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())
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment