Parameters::getLists: remove unused TypeTag tparam

This commit is contained in:
Arne Morten Kvarving
2024-08-09 11:30:27 +02:00
parent a5b4f827fe
commit 85e48bd157
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -832,7 +832,7 @@ auto get(bool errorIfNotRegistered)
* The two arguments besides the TypeTag are assumed to be STL containers which store
* std::pair<std::string, std::string>.
*/
template <class TypeTag, class Container>
template <class Container>
void getLists(Container& usedParams, Container& unusedParams)
{
usedParams.clear();
+1 -1
View File
@@ -177,7 +177,7 @@ static inline int setupParameters_(int argc,
ParamList usedParams;
ParamList unusedParams;
Parameters::getLists<TypeTag>(usedParams, unusedParams);
Parameters::getLists(usedParams, unusedParams);
if (!allowUnused && !unusedParams.empty()) {
if (myRank == 0) {
if (unusedParams.size() == 1)