Skip to content

Commit 5e92559

Browse files
authored
const ref in the loop
1 parent c04fa27 commit 5e92559

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PWGLF/Tasks/Strangeness/v0postprocessing.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ struct v0postprocessing {
330330

331331
void process(aod::MyV0Candidates const& myv0s)
332332
{
333-
for (auto& candidate : myv0s) {
333+
for (const auto& candidate : myv0s) {
334334

335335
if (doQA) {
336336
registry.fill(HIST("QA/hK0sSelection"), 0.5);

0 commit comments

Comments
 (0)