cfg: move get_name to _base

This commit is contained in:
Megamouse 2021-03-20 17:06:43 +01:00 committed by Ivan
parent 2766e5ca6f
commit ae01e1d2c3
2 changed files with 4 additions and 9 deletions

View file

@ -20,7 +20,7 @@ namespace cfg
}
_base::_base(type _type, node* owner, const std::string& name, bool dynamic)
: m_type(_type), m_dynamic(dynamic)
: m_type(_type), m_dynamic(dynamic), m_name(name)
{
for (const auto& pair : owner->m_nodes)
{