diff --git a/opm/material/common/MathToolbox.hpp b/opm/material/common/MathToolbox.hpp index 2876e705c..a469e95b4 100644 --- a/opm/material/common/MathToolbox.hpp +++ b/opm/material/common/MathToolbox.hpp @@ -32,6 +32,8 @@ #ifndef OPM_MATERIAL_MATH_TOOLBOX_HPP #define OPM_MATERIAL_MATH_TOOLBOX_HPP +#include + #include #include #include @@ -97,7 +99,7 @@ public: * This basically boils down to creating an uninitialized object of sufficient size. * This is method only non-trivial for dynamically-sized Evaluation objects. */ - static Scalar createBlank(Scalar value) + static Scalar createBlank(Scalar value OPM_UNUSED) { return Scalar(); } /*!