aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-11-05 16:42:57 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-11-05 16:42:57 +0100
commitbf4c172f2709adf5a6f210bae60e16972e8decad (patch)
tree2a868f7375b8e750a38b55788beeae9989bb0c61 /src/crepe/api
parent9752e2d27b06db25f0e2bc170341901201b4e4c1 (diff)
Make format
Diffstat (limited to 'src/crepe/api')
-rw-r--r--src/crepe/api/SceneManager.cpp4
-rw-r--r--src/crepe/api/SceneManager.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/src/crepe/api/SceneManager.cpp b/src/crepe/api/SceneManager.cpp
index 1680dd1..c8061c9 100644
--- a/src/crepe/api/SceneManager.cpp
+++ b/src/crepe/api/SceneManager.cpp
@@ -12,9 +12,7 @@ SceneManager & SceneManager::get_instance() {
}
// Push the next scene onto the queue
-void SceneManager::load_scene(std::string name) {
- next_scene.push(name);
-}
+void SceneManager::load_scene(std::string name) { next_scene.push(name); }
// Load a new scene from the queue (if there is one)
void SceneManager::empty_queue() {
diff --git a/src/crepe/api/SceneManager.h b/src/crepe/api/SceneManager.h
index 76fe92e..87db8d7 100644
--- a/src/crepe/api/SceneManager.h
+++ b/src/crepe/api/SceneManager.h
@@ -1,8 +1,8 @@
#pragma once
-#include <vector>
#include <memory>
#include <queue>
+#include <vector>
#include "Scene.h"