diff --git a/opm/autodiff/BlackoilModelBase.hpp b/opm/autodiff/BlackoilModelBase.hpp index 7f92f38ec..c9870e6ea 100644 --- a/opm/autodiff/BlackoilModelBase.hpp +++ b/opm/autodiff/BlackoilModelBase.hpp @@ -272,14 +272,14 @@ namespace Opm { class StandardWells { protected: struct WellOps { - WellOps(const Wells* wells); + explicit WellOps(const Wells* wells); Eigen::SparseMatrix w2p; // well -> perf (scatter) Eigen::SparseMatrix p2w; // perf -> well (gather) std::vector well_cells; // the set of perforated cells }; public: - StandardWells(const Wells* wells); + explicit StandardWells(const Wells* wells); const Wells& wells() const;