mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-14 02:23:27 -06:00
Parameters::getLists: remove unused TypeTag tparam
This commit is contained in:
parent
a5b4f827fe
commit
85e48bd157
@ -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();
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user