diff --git a/opm/material/common/Tabulated1DFunction.hpp b/opm/material/common/Tabulated1DFunction.hpp index 361ed4ba9ac..c951d446e1c 100644 --- a/opm/material/common/Tabulated1DFunction.hpp +++ b/opm/material/common/Tabulated1DFunction.hpp @@ -93,8 +93,8 @@ class Tabulated1DFunction * have a size() method) */ template - Tabulated1DFunction(const PointContainer& points, - bool sortInputs = true) + explicit Tabulated1DFunction(const PointContainer& points, + bool sortInputs = true) { this->setContainerOfTuples(points, sortInputs); } /*!