use [[maybe_unused]] instead of macro

This commit is contained in:
Arne Morten Kvarving 2021-10-18 11:52:31 +02:00
parent 3cacb0ae8b
commit f09dd916b8

View File

@ -220,7 +220,7 @@ public:
return eqIdx == contiMicrobialEqIdx || eqIdx == contiOxygenEqIdx || eqIdx == contiUreaEqIdx || eqIdx == contiBiofilmEqIdx || eqIdx == contiCalciteEqIdx;
}
static Scalar eqWeight(unsigned eqIdx OPM_OPTIM_UNUSED)
static Scalar eqWeight([[maybe_unused]] unsigned eqIdx)
{
assert(eqApplies(eqIdx));