aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/manager/SystemManager.hpp
diff options
context:
space:
mode:
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))