From 6e8c8d53d1cd188e16d80f9b98e05fb08a155452 Mon Sep 17 00:00:00 2001 From: sgaretti <129837066+sgaretti@users.noreply.github.com> Date: Mon, 7 Sep 2026 17:11:57 +0200 Subject: [PATCH] [PWGDQ] Change loop variable to const reference for limits Adding const reference for limits --- PWGDQ/Core/MixingLibrary.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGDQ/Core/MixingLibrary.cxx b/PWGDQ/Core/MixingLibrary.cxx index b4314c69296..810f09cb62c 100644 --- a/PWGDQ/Core/MixingLibrary.cxx +++ b/PWGDQ/Core/MixingLibrary.cxx @@ -248,7 +248,7 @@ void o2::aod::dqmixing::SetUpMixingFromJSON(MixingHandler* mh, const char* json) const auto& lims = obj["LimsHashing"]; std::vector limits; limits.reserve(lims.Size()); - for (auto& v : lims.GetArray()) { + for (const auto& v : lims.GetArray()) { limits.push_back(v.GetFloat()); }