From 1e64538da11884189fe3de264199f172526179f8 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Fri, 13 Sep 2024 12:29:00 +0200 Subject: [PATCH] Tabulated1DFunction: mark constructor explicit --- opm/material/common/Tabulated1DFunction.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } /*!