| 18 | u32 _base::id_counter = 0; |
| 19 | |
| 20 | _base::_base(type _type) |
| 21 | : m_type(_type), m_id(id_counter++) |
| 22 | { |
| 23 | if (_type != type::node) |
| 24 | { |
| 25 | cfg_log.fatal("Invalid root node"); |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | _base::_base(type _type, node* owner, std::string name, bool dynamic) |
| 30 | : m_type(_type), m_parent(owner), m_dynamic(dynamic), m_name(std::move(name)), m_id(id_counter++) |
nothing calls this directly
no test coverage detected