mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Parameters::endParamRegistration
rename to endRegistration and drop unsed TypeTag tparam
This commit is contained in:
parent
32b0015afe
commit
a5b4f827fe
@ -976,8 +976,7 @@ void hideParam()
|
|||||||
* \c endParamRegistration, a <tt>std::logic_error</tt> exception
|
* \c endParamRegistration, a <tt>std::logic_error</tt> exception
|
||||||
* will be thrown.
|
* will be thrown.
|
||||||
*/
|
*/
|
||||||
template <class TypeTag>
|
inline void endRegistration()
|
||||||
void endParamRegistration()
|
|
||||||
{
|
{
|
||||||
if (!MetaData::registrationOpen()) {
|
if (!MetaData::registrationOpen()) {
|
||||||
throw std::logic_error("Parameter registration was already closed. It is only possible "
|
throw std::logic_error("Parameter registration was already closed. It is only possible "
|
||||||
|
@ -88,7 +88,7 @@ static inline void registerAllParameters_(bool finalizeRegistration = true)
|
|||||||
ThreadManager::registerParameters();
|
ThreadManager::registerParameters();
|
||||||
|
|
||||||
if (finalizeRegistration) {
|
if (finalizeRegistration) {
|
||||||
Parameters::endParamRegistration<TypeTag>();
|
Parameters::endRegistration();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user