mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
eclproblem: use maybe_unused attribute instead of macro
This commit is contained in:
@@ -1451,7 +1451,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
template <class Context>
|
template <class Context>
|
||||||
Scalar transmissibility(const Context& context,
|
Scalar transmissibility(const Context& context,
|
||||||
unsigned OPM_OPTIM_UNUSED fromDofLocalIdx,
|
[[maybe_unused]] unsigned fromDofLocalIdx,
|
||||||
unsigned toDofLocalIdx) const
|
unsigned toDofLocalIdx) const
|
||||||
{
|
{
|
||||||
assert(fromDofLocalIdx == 0);
|
assert(fromDofLocalIdx == 0);
|
||||||
@@ -1463,7 +1463,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
template <class Context>
|
template <class Context>
|
||||||
Scalar diffusivity(const Context& context,
|
Scalar diffusivity(const Context& context,
|
||||||
unsigned OPM_OPTIM_UNUSED fromDofLocalIdx,
|
[[maybe_unused]] unsigned fromDofLocalIdx,
|
||||||
unsigned toDofLocalIdx) const
|
unsigned toDofLocalIdx) const
|
||||||
{
|
{
|
||||||
assert(fromDofLocalIdx == 0);
|
assert(fromDofLocalIdx == 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user