From 85e48bd157ea24997c1e9a4310d5393b84fe799a Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Fri, 5 Jul 2024 14:30:00 +0200 Subject: [PATCH] Parameters::getLists: remove unused TypeTag tparam --- opm/models/utils/parametersystem.hh | 2 +- opm/models/utils/start.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opm/models/utils/parametersystem.hh b/opm/models/utils/parametersystem.hh index eb2a56986..12f5a30e3 100644 --- a/opm/models/utils/parametersystem.hh +++ b/opm/models/utils/parametersystem.hh @@ -832,7 +832,7 @@ auto get(bool errorIfNotRegistered) * The two arguments besides the TypeTag are assumed to be STL containers which store * std::pair. */ -template +template void getLists(Container& usedParams, Container& unusedParams) { usedParams.clear(); diff --git a/opm/models/utils/start.hh b/opm/models/utils/start.hh index a6e9b3ba8..4effa422e 100644 --- a/opm/models/utils/start.hh +++ b/opm/models/utils/start.hh @@ -177,7 +177,7 @@ static inline int setupParameters_(int argc, ParamList usedParams; ParamList unusedParams; - Parameters::getLists(usedParams, unusedParams); + Parameters::getLists(usedParams, unusedParams); if (!allowUnused && !unusedParams.empty()) { if (myRank == 0) { if (unusedParams.size() == 1)