Skip to content

Commit 9f32210

Browse files
committed
Fix o2linter warnings on non-const iterators
1 parent d99a3ed commit 9f32210

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PWGUD/Tasks/FwdMuonsUPC.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ struct FwdMuonsUPC {
770770
for (const auto& item : tracksPerCand) {
771771
if (item.second.size() != 2) {
772772
LOGF(debug, "mc parts = %d", item.second.size());
773-
for (auto id : item.second) {
773+
for (const auto id : item.second) {
774774
auto p = McParts.iteratorAt(id);
775775
LOGF(debug,
776776
" part %d: pdg=%d status=%d has_mothers=%d has_daughters=%d",

0 commit comments

Comments
 (0)