Merge pull request #398 from atgeirr/fix-warning

Silence unused variable warning.
This commit is contained in:
Atgeirr Flø Rasmussen 2020-02-13 12:59:10 +01:00 committed by GitHub
commit 89dd68d1e7

View File

@ -81,8 +81,9 @@ auto getRv_(typename std::enable_if<HasMember_Rv<FluidState>::value, const Fluid
{ return Opm::decay<LhsEval>(fluidState.Rv()); }
template <class FluidSystem, class FluidState, class LhsEval>
LhsEval getSaltConcentration_(typename std::enable_if<!HasMember_saltConcentration<FluidState>::value, const FluidState&>::type fluidState,
unsigned regionIdx)
LhsEval getSaltConcentration_(typename std::enable_if<!HasMember_saltConcentration<FluidState>::value,
const FluidState&>::type fluidState OPM_UNUSED,
unsigned regionIdx OPM_UNUSED)
{return 0.0;}
template <class FluidSystem, class FluidState, class LhsEval>