Skip to content

Commit c00f96d

Browse files
committed
loop instead with const&
1 parent 9183ed9 commit c00f96d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ALICE3/TableProducer/OTF/onTheFlyDecayer.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ struct OnTheFlyDecayer {
328328
}
329329

330330
std::vector<o2::upgrade::OTFParticle> daughters = decayer.decayParticle(pdgDB, otfParticle);
331-
for (o2::upgrade::OTFParticle dau : daughters) {
331+
for (const o2::upgrade::OTFParticle& dau : daughters) {
332332
decayStack.push_back(dau);
333333
}
334334
}

0 commit comments

Comments
 (0)