diff --git a/src/coreComponents/dataRepository/Group.cpp b/src/coreComponents/dataRepository/Group.cpp index c2c6f2eb6b5..f86b1907b4e 100644 --- a/src/coreComponents/dataRepository/Group.cpp +++ b/src/coreComponents/dataRepository/Group.cpp @@ -79,11 +79,6 @@ void Group::deregisterWrapper( string const & name ) m_conduitNode.remove( name ); } -void Group::addLogLevelEntry( string_view level, string_view description ) -{ - m_logLevelsDescriptions[ string( level ) ].push_back( string( description ) ); -} - void Group::appendLogLevelDescription( string_view levelCondition, string_view logDescription ) { Wrapper< integer > * wrapper = getWrapperPointer< integer >( viewKeyStruct::logLevelString() ); @@ -93,7 +88,7 @@ void Group::appendLogLevelDescription( string_view levelCondition, string_view l wrapper->setApplyDefaultValue( 0 ); wrapper->setInputFlag( InputFlags::OPTIONAL ); } - addLogLevelEntry( levelCondition, logDescription ); + m_logLevelsDescriptions[ string( levelCondition ) ].push_back( string( logDescription ) ); wrapper->buildLogLevelDescription( m_logLevelsDescriptions ); } diff --git a/src/coreComponents/dataRepository/Group.hpp b/src/coreComponents/dataRepository/Group.hpp index eb559826ca0..a17878bf623 100644 --- a/src/coreComponents/dataRepository/Group.hpp +++ b/src/coreComponents/dataRepository/Group.hpp @@ -1486,13 +1486,6 @@ class Group integer getLogLevel() const { return m_logLevel; } ///@} - /** - * @brief Add an entry to the description map - * @param level The log level key - * @param description The log description value - */ - void addLogLevelEntry( string_view level, string_view description ); - /** * @brief Performs re-initialization of certain variable depending on the solver being used. */