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

DerivationFrameworkMuons: Fix clang warnings.

    
Don't use references in a range-for if the object must be copied.
parent d04a99c4
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ StatusCode VertexDecoratorAlg::execute() {
ATH_MSG_DEBUG("in execute");
const xAOD::VertexContainer* Vertices = nullptr;
ATH_CHECK(evtStore()->retrieve(Vertices, m_VertexContainer));
for (const auto& vertex : *Vertices ){
for (const auto vertex : *Vertices ){
unsigned int n_Trks = 0;
float sum_pt = 0;
for (unsigned int t = 0 ; t < vertex->nTrackParticles(); ++t){
......
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