aboutsummaryrefslogtreecommitdiff
path: root/src/crepe
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe')
-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"