From f25d204281c0d3e61363da10da13c4bfcb2b7991 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A5rd=20Skaflestad?= Date: Fri, 10 Mar 2023 11:36:11 +0100 Subject: [PATCH] Tag Unused Parameter as Maybe_Unused Noted by [at]akva2 --- opm/simulators/aquifers/AquiferConstantFlux.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/simulators/aquifers/AquiferConstantFlux.hpp b/opm/simulators/aquifers/AquiferConstantFlux.hpp index 14769cbf3..ed768a6d0 100644 --- a/opm/simulators/aquifers/AquiferConstantFlux.hpp +++ b/opm/simulators/aquifers/AquiferConstantFlux.hpp @@ -113,7 +113,7 @@ public: void addToSource(RateVector& rates, const unsigned cellIdx, - const unsigned timeIdx) override + [[maybe_unused]] const unsigned timeIdx) override { const int idx = this->cellToConnectionIdx_[cellIdx]; if (idx < 0) {