Skip to content

Commit 593fc9a

Browse files
committed
More const ref
1 parent 09e891a commit 593fc9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGMM/UE/Tasks/ue-zdc-analysys.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ struct ZDCAnalysis {
355355
float multFDA = 0;
356356
float multFDC = 0;
357357
if (foundBC.has_fdd()) {
358-
auto fdd = foundBC.fdd();
358+
auto const& fdd = foundBC.fdd();
359359
for (auto const& amplitude : fdd.chargeA()) {
360360
multFDA += amplitude;
361361
}

0 commit comments

Comments
 (0)