mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Parameters::parseCommandLineOptions: remove unused TypeTag tparam
This commit is contained in:
@@ -539,7 +539,7 @@ inline std::string parseUnquotedValue_(std::string& s, const std::string&)
|
||||
* \return Empty string if everything worked out. Otherwise the thing that could
|
||||
* not be read.
|
||||
*/
|
||||
template <class TypeTag, class PositionalArgumentCallback>
|
||||
template <class PositionalArgumentCallback>
|
||||
std::string parseCommandLineOptions(int argc,
|
||||
const char **argv,
|
||||
const std::string& helpPreamble = "",
|
||||
|
||||
@@ -129,10 +129,10 @@ static inline int setupParameters_(int argc,
|
||||
if (myRank == 0 && handleHelp)
|
||||
helpPreamble = Problem::helpPreamble(argc, argv);
|
||||
std::string s =
|
||||
Parameters::parseCommandLineOptions<TypeTag>(argc,
|
||||
argv,
|
||||
helpPreamble,
|
||||
positionalParamCallback);
|
||||
Parameters::parseCommandLineOptions(argc,
|
||||
argv,
|
||||
helpPreamble,
|
||||
positionalParamCallback);
|
||||
if (!s.empty())
|
||||
{
|
||||
int status = 1;
|
||||
|
||||
Reference in New Issue
Block a user