aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/SceneManager.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-15 17:25:12 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-15 17:25:12 +0100
commitf51ddfac7b8948a43a40894185238c8a1ceeb5c4 (patch)
tree0142629fd34b2704f2d92a2f4d888ed0d82fc43f /src/crepe/api/SceneManager.cpp
parentbe1e97bc7a494963ab1567492fafcda99e36f683 (diff)
wrap lines at column 95 instead of 80
Diffstat (limited to 'src/crepe/api/SceneManager.cpp')
-rw-r--r--src/crepe/api/SceneManager.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/crepe/api/SceneManager.cpp b/src/crepe/api/SceneManager.cpp
index dfed6ee..c0f8b23 100644
--- a/src/crepe/api/SceneManager.cpp
+++ b/src/crepe/api/SceneManager.cpp
@@ -19,11 +19,10 @@ void SceneManager::load_next_scene() {
// next scene not set
if (this->next_scene.empty()) return;
- auto it
- = find_if(this->scenes.begin(), this->scenes.end(),
- [&next_scene = this->next_scene](unique_ptr<Scene> & scene) {
- return scene->name == next_scene;
- });
+ auto it = find_if(this->scenes.begin(), this->scenes.end(),
+ [&next_scene = this->next_scene](unique_ptr<Scene> & scene) {
+ return scene->name == next_scene;
+ });
// next scene not found
if (it == this->scenes.end()) return;