aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/LoopManager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/LoopManager.hpp')
-rw-r--r--src/crepe/api/LoopManager.hpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/crepe/api/LoopManager.hpp b/src/crepe/api/LoopManager.hpp
index 266758a..627b281 100644
--- a/src/crepe/api/LoopManager.hpp
+++ b/src/crepe/api/LoopManager.hpp
@@ -1,11 +1,10 @@
#pragma once
+#include <memory>
#include <cassert>
#include <format>
-#include <memory>
#include "../system/System.h"
-
#include "LoopManager.h"
namespace crepe {
@@ -18,8 +17,7 @@ void LoopManager::add_scene() {
template <class T>
T & LoopManager::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))
@@ -36,7 +34,7 @@ template <class T>
void LoopManager::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))