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

InDetGlobalMonitoring: Fix clang warnings.

    
Don't use references in a range-for if the object must be copised.
parent edab84ce
No related branches found
No related tags found
No related merge requests found
Pipeline #2318811 passed
/*
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/
/** @file InDetGlobalTrackMonTool.cxx
......@@ -946,7 +946,7 @@ void InDetGlobalTrackMonTool::FillTIDE()
const xAOD::Vertex* foundVertex { nullptr };
if ( vertices.isValid() )
{
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