Parameters::endParamRegistration

rename to endRegistration and drop unsed TypeTag tparam
This commit is contained in:
Arne Morten Kvarving 2024-07-05 14:26:03 +02:00
parent 32b0015afe
commit a5b4f827fe
2 changed files with 2 additions and 3 deletions

View File

@ -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 "

View File

@ -88,7 +88,7 @@ static inline void registerAllParameters_(bool finalizeRegistration = true)
ThreadManager::registerParameters();
if (finalizeRegistration) {
Parameters::endParamRegistration<TypeTag>();
Parameters::endRegistration();
}
}