Skip to content

Commit 4b4d93b

Browse files
committed
fix O2 linter warnings (variables and functions naming style)
1 parent 446eb22 commit 4b4d93b

File tree

2 files changed

+109
-109
lines changed

2 files changed

+109
-109
lines changed

PWGHF/TableProducer/candidateCreator3Prong.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ struct HfCandidateCreator3Prong {
497497
const float chi2topo = kfCalculateChi2ToPrimaryVertex(kfCandPKPi, kfpV);
498498

499499
if (applyTopoConstraint) { // constraints applied after chi2topo getter - to preserve unbiased value of chi2topo
500-
for (auto& kfCand : std::array<KFParticle*, 5>{&kfCandPKPi, &kfCandPiKP, &kfCandPiKPi, &kfCandKKPi, &kfCandPiKK}) {
500+
for (const auto& kfCand : std::array<KFParticle*, 5>{&kfCandPKPi, &kfCandPiKP, &kfCandPiKPi, &kfCandKKPi, &kfCandPiKK}) {
501501
kfCand->SetProductionVertex(kfpV);
502502
kfCand->TransportToDecayVertex();
503503
}

0 commit comments

Comments
 (0)