From 4720a11702d3ca26a2d0d21174ada5db43fe87ec Mon Sep 17 00:00:00 2001 From: mlesch Date: Mon, 23 Dec 2024 12:53:17 +0100 Subject: [PATCH] Implementing changes --- Modules/TPC/src/AtmosPressureReductor.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/TPC/src/AtmosPressureReductor.cxx b/Modules/TPC/src/AtmosPressureReductor.cxx index 5b90af35a..3e42506e3 100644 --- a/Modules/TPC/src/AtmosPressureReductor.cxx +++ b/Modules/TPC/src/AtmosPressureReductor.cxx @@ -37,7 +37,7 @@ bool AtmosPressureReductor::update(ConditionRetriever& retriever) std::vector pressureValues; // Cavern pressure 1 - for (const auto& [time, p] : env->mEnvVars["CavernAtmosPressure"]) { + for ([[maybe_unused]] const auto& [time, p] : env->mEnvVars["CavernAtmosPressure"]) { pressureValues.emplace_back((float)p); } calcMeanAndStddev(pressureValues, mStats.cavernPressure1, mStats.errCavernPressure1); @@ -51,7 +51,7 @@ bool AtmosPressureReductor::update(ConditionRetriever& retriever) pressureValues.clear(); // Surface pressure - for (const auto& [time, p] : env->mEnvVars["SurfaceAtmosPressure"]) { + for ([[maybe_unused]] const auto& [time, p] : env->mEnvVars["SurfaceAtmosPressure"]) { pressureValues.emplace_back((float)p); } calcMeanAndStddev(pressureValues, mStats.surfacePressure, mStats.errSurfacePressure);