diff --git a/opm/models/utils/parametersystem.hpp b/opm/models/utils/parametersystem.hpp index 7618bde67..3fa230ee7 100644 --- a/opm/models/utils/parametersystem.hpp +++ b/opm/models/utils/parametersystem.hpp @@ -176,7 +176,7 @@ void parseParameterFile(const std::string& fileName, bool overwrite = true); * * \param os The \c std::ostream on which the message should be printed */ -void printValues(std::ostream& os = std::cout); +void printValues(std::ostream& os); /*! * \ingroup Parameter diff --git a/opm/models/utils/start.hh b/opm/models/utils/start.hh index 0a97b32e3..ef8060b7d 100644 --- a/opm/models/utils/start.hh +++ b/opm/models/utils/start.hh @@ -358,7 +358,7 @@ static inline int start(int argc, char **argv, bool registerParams=true) if (printParams) { bool printSeparator = false; if (printParams == 1 || !isatty(fileno(stdout))) { - Parameters::printValues(); + Parameters::printValues(std::cout); printSeparator = true; } else diff --git a/opm/simulators/flow/FlowMain.hpp b/opm/simulators/flow/FlowMain.hpp index d60baa992..df98a48aa 100644 --- a/opm/simulators/flow/FlowMain.hpp +++ b/opm/simulators/flow/FlowMain.hpp @@ -150,7 +150,7 @@ namespace Opm { // deal with --print-parameters and unknown parameters. if (Parameters::Get() == 1) { if (mpiRank == 0) { - Parameters::printValues(); + Parameters::printValues(std::cout); } return -1; }