mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-25 18:50:19 -06:00
Parameter::get: remove unused overload
This commit is contained in:
parent
5dea27c960
commit
72322ec6ff
@ -103,9 +103,6 @@ struct ParamInfo
|
||||
};
|
||||
|
||||
// forward declaration
|
||||
template <class TypeTag, class ParamType, class PropTag>
|
||||
const ParamType get(const char *paramName,
|
||||
bool errorIfNotRegistered = true);
|
||||
template <class TypeTag, class ParamType>
|
||||
const ParamType get(const char *paramName,
|
||||
const ParamType& defaultValue,
|
||||
@ -888,13 +885,6 @@ class Param
|
||||
using ParamsMeta = GetProp<TypeTag, Properties::ParameterMetaData>;
|
||||
|
||||
public:
|
||||
template <class ParamType, class PropTag>
|
||||
static ParamType get(const char* paramName,
|
||||
bool errorIfNotRegistered = true)
|
||||
{
|
||||
return retrieve_<ParamType>(paramName, getPropValue<TypeTag, PropTag>(), errorIfNotRegistered);
|
||||
}
|
||||
|
||||
template <class ParamType>
|
||||
static ParamType get(const char* paramName,
|
||||
const ParamType& defaultValue,
|
||||
@ -1016,13 +1006,6 @@ private:
|
||||
}
|
||||
};
|
||||
|
||||
template <class TypeTag, class ParamType, class PropTag>
|
||||
const ParamType get(const char* paramName, bool errorIfNotRegistered)
|
||||
{
|
||||
return Param<TypeTag>::template get<ParamType, PropTag>(paramName,
|
||||
errorIfNotRegistered);
|
||||
}
|
||||
|
||||
template <class TypeTag, class ParamType>
|
||||
const ParamType get(const char* paramName, const ParamType& defaultValue, bool errorIfNotRegistered)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user