changed: mark constructors explicit

This commit is contained in:
Arne Morten Kvarving 2018-04-13 11:23:59 +02:00
parent fddad72a3e
commit ee57c82834
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ namespace Opm
bool converged;
/// Default constructor initializing all times to 0.0.
SimulatorReport(bool verbose=true);
explicit SimulatorReport(bool verbose=true);
/// Copy constructor
SimulatorReport(const SimulatorReport&) = default;
/// Increment this report's times by those in sr.

View File

@ -18,7 +18,7 @@
struct SortByAbsFlux
{
SortByAbsFlux(const double* flux)
explicit SortByAbsFlux(const double* flux)
: flux_(flux)
{}
bool operator() (int f1, int f2)