mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Parameters::parseParameterFile: remove unused TypeTag tparam
This commit is contained in:
parent
b60f390a21
commit
0e5ea0f567
@ -646,8 +646,7 @@ std::string parseCommandLineOptions(int argc,
|
|||||||
*
|
*
|
||||||
* This function does some basic syntax checks.
|
* This function does some basic syntax checks.
|
||||||
*/
|
*/
|
||||||
template <class TypeTag>
|
inline void parseParameterFile(const std::string& fileName, bool overwrite = true)
|
||||||
void parseParameterFile(const std::string& fileName, bool overwrite = true)
|
|
||||||
{
|
{
|
||||||
std::set<std::string> seenKeys;
|
std::set<std::string> seenKeys;
|
||||||
std::ifstream ifs(fileName);
|
std::ifstream ifs(fileName);
|
||||||
|
@ -167,7 +167,7 @@ static inline int setupParameters_(int argc,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// read the parameter file.
|
// read the parameter file.
|
||||||
Parameters::parseParameterFile<TypeTag>(paramFileName, /*overwrite=*/false);
|
Parameters::parseParameterFile(paramFileName, /*overwrite=*/false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// make sure that no unknown parameters are encountered
|
// make sure that no unknown parameters are encountered
|
||||||
|
Loading…
Reference in New Issue
Block a user