mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-20 11:48:25 -06:00
Parameters::printUnused: drop default parameter for stream
This commit is contained in:
parent
4967323c29
commit
218988c85e
@ -186,7 +186,7 @@ void printValues(std::ostream& os);
|
||||
*
|
||||
* \return true if something was printed
|
||||
*/
|
||||
bool printUnused(std::ostream& os = std::cout);
|
||||
bool printUnused(std::ostream& os);
|
||||
|
||||
/*!
|
||||
* \ingroup Parameter
|
||||
|
@ -365,13 +365,13 @@ static inline int start(int argc, char **argv, bool registerParams=true)
|
||||
// always print the list of specified but unused parameters
|
||||
printSeparator =
|
||||
printSeparator ||
|
||||
Parameters::printUnused();
|
||||
Parameters::printUnused(std::cout);
|
||||
if (printSeparator)
|
||||
std::cout << endParametersSeparator;
|
||||
}
|
||||
else
|
||||
// always print the list of specified but unused parameters
|
||||
if (Parameters::printUnused())
|
||||
if (Parameters::printUnused(std::cout))
|
||||
std::cout << endParametersSeparator;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user