diff options
Diffstat (limited to 'src/crepe/manager/SystemManager.hpp')
-rw-r--r-- | src/crepe/manager/SystemManager.hpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/crepe/manager/SystemManager.hpp b/src/crepe/manager/SystemManager.hpp index a19a253..addd274 100644 --- a/src/crepe/manager/SystemManager.hpp +++ b/src/crepe/manager/SystemManager.hpp @@ -38,10 +38,7 @@ void SystemManager::load_system() { throw runtime_error(format("SystemManager: {} is already initialized", type.name())); System * system = new T(this->mediator); this->systems[type] = unique_ptr<System>(system); - this->system_order.push_back(SystemEntry { - .system = *this->systems[type], - .name = type.name(), - }); + this->system_order.push_back(*this->systems[type]); } } // namespace crepe |