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)