Skip to content

Commit cd6e89e

Browse files
authored
Refactor track iteration to use 'const auto&'
1 parent 141512f commit cd6e89e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PWGJE/TableProducer/tableDiffWake.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ struct TableDiffWake {
178178
//------- Only events with track above some thresh ----------
179179

180180
bool eventHighpT = false;
181-
for (auto const &track : tracks) {
181+
for (const auto& track : tracks) {
182182

183183
if (!track.isGlobalTrack())
184184
continue;
@@ -206,7 +206,7 @@ struct TableDiffWake {
206206
substituteEp2,
207207
substituteEp3);
208208

209-
for (auto const &track : tracks) {
209+
for (const auto& track : tracks) {
210210

211211
// Track cut
212212
if (!track.isGlobalTrack())

0 commit comments

Comments
 (0)