mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-25 08:41:00 -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
|
||||
* will be thrown.
|
||||
*/
|
||||
template <class TypeTag>
|
||||
void endParamRegistration()
|
||||
inline void endRegistration()
|
||||
{
|
||||
if (!MetaData::registrationOpen()) {
|
||||
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();
|
||||
|
||||
if (finalizeRegistration) {
|
||||
Parameters::endParamRegistration<TypeTag>();
|
||||
Parameters::endRegistration();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user