mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Parameters::printValues: drop default parameter for stream
This commit is contained in:
parent
ed0c480a19
commit
4967323c29
@ -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
|
||||
|
@ -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
|
||||
|
@ -150,7 +150,7 @@ namespace Opm {
|
||||
// deal with --print-parameters and unknown parameters.
|
||||
if (Parameters::Get<Parameters::PrintParameters>() == 1) {
|
||||
if (mpiRank == 0) {
|
||||
Parameters::printValues();
|
||||
Parameters::printValues(std::cout);
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user