Parameters::parseCommandLineOptions: remove unused TypeTag tparam

This commit is contained in:
Arne Morten Kvarving
2024-07-05 14:41:12 +02:00
parent 0e5ea0f567
commit b682b7da03
2 changed files with 5 additions and 5 deletions

View File

@@ -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 = "",

View File

@@ -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;