mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-05 22:13:00 -06:00
eclproblem: use maybe_unused attribute instead of macro
This commit is contained in:
parent
8ed738b188
commit
df4fdc9794
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user