diff --git a/PWGLF/Tasks/QC/findableStudy.cxx b/PWGLF/Tasks/QC/findableStudy.cxx index 512f5dd6b4d..dc67b02dc40 100644 --- a/PWGLF/Tasks/QC/findableStudy.cxx +++ b/PWGLF/Tasks/QC/findableStudy.cxx @@ -62,7 +62,7 @@ using namespace o2::framework; using namespace o2::framework::expressions; using std::array; -using recoStraCollisions = soa::Join; +using recoStraCollisions = soa::Join; using reconstructedV0s = soa::Join; using reconstructedV0sNoMC = soa::Join; @@ -261,7 +261,7 @@ struct findableStudy { bool hasBeenFound = false; int nCandidatesWithTPC = 0; - for (auto& recv0 : recv0s) { + for (const auto& recv0 : recv0s) { if (recv0.v0Type() != 1) continue; // skip anything other than a standard V0