aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/manager/SystemManager.hpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-12-12 22:45:30 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-12-12 22:45:30 +0100
commit1d1c256eea43a3d0685919ed2997e10990ef639f (patch)
tree99f85ea9d8852ba3e33a05df699f028f29d3f9d1 /src/crepe/manager/SystemManager.hpp
parent23196be83778973d9688cc5d465e4e4a16476568 (diff)
`make format`
Diffstat (limited to 'src/crepe/manager/SystemManager.hpp')
-rw-r--r--src/crepe/manager/SystemManager.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/crepe/manager/SystemManager.hpp b/src/crepe/manager/SystemManager.hpp
index 46ada5f..3d26e4c 100644
--- a/src/crepe/manager/SystemManager.hpp
+++ b/src/crepe/manager/SystemManager.hpp
@@ -1,8 +1,8 @@
#pragma once
-#include <memory>
#include <cassert>
#include <format>
+#include <memory>
#include "SystemManager.h"
@@ -11,7 +11,8 @@ namespace crepe {
template <class T>
T & SystemManager::get_system() {
using namespace std;
- static_assert(is_base_of<System, T>::value, "get_system must recieve a derivative class of System");
+ static_assert(is_base_of<System, T>::value,
+ "get_system must recieve a derivative class of System");
const type_info & type = typeid(T);
if (!this->systems.contains(type))
@@ -28,7 +29,7 @@ template <class T>
void SystemManager::load_system() {
using namespace std;
static_assert(is_base_of<System, T>::value,
- "load_system must recieve a derivative class of System");
+ "load_system must recieve a derivative class of System");
const type_info & type = typeid(T);
if (this->systems.contains(type))