mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
use [[maybe_unused]] instead of macro
This commit is contained in:
parent
3cacb0ae8b
commit
f09dd916b8
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user