aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/LoopManager.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-13 12:19:56 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-13 12:19:56 +0100
commit87c74782e486647c46f9ca4d2f857094006e563c (patch)
treec8e0b893610cb90d7bd7578c3d076b7e905c822a /src/crepe/api/LoopManager.h
parentec3601fbc17a38a44608a04f53d4e36c1bff8c96 (diff)
`make format`
Diffstat (limited to 'src/crepe/api/LoopManager.h')
-rw-r--r--src/crepe/api/LoopManager.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/crepe/api/LoopManager.h b/src/crepe/api/LoopManager.h
index ef1c14f..288dca2 100644
--- a/src/crepe/api/LoopManager.h
+++ b/src/crepe/api/LoopManager.h
@@ -2,8 +2,8 @@
#include <memory>
-#include "../system/System.h"
#include "../ComponentManager.h"
+#include "../system/System.h"
namespace crepe {
@@ -74,7 +74,7 @@ protected:
T & get_system();
private:
- ComponentManager component_manager;
+ ComponentManager component_manager{};
std::unordered_map<std::type_index, std::unique_ptr<System>> systems;
private:
@@ -85,4 +85,3 @@ private:
} // namespace crepe
#include "LoopManager.hpp"
-