eclproblem: use maybe_unused attribute instead of macro

This commit is contained in:
Arne Morten Kvarving
2021-05-26 14:19:23 +02:00
parent 8ed738b188
commit df4fdc9794

View File

@@ -1451,7 +1451,7 @@ public:
*/
template <class Context>
Scalar transmissibility(const Context& context,
unsigned OPM_OPTIM_UNUSED fromDofLocalIdx,
[[maybe_unused]] unsigned fromDofLocalIdx,
unsigned toDofLocalIdx) const
{
assert(fromDofLocalIdx == 0);
@@ -1463,7 +1463,7 @@ public:
*/
template <class Context>
Scalar diffusivity(const Context& context,
unsigned OPM_OPTIM_UNUSED fromDofLocalIdx,
[[maybe_unused]] unsigned fromDofLocalIdx,
unsigned toDofLocalIdx) const
{
assert(fromDofLocalIdx == 0);