aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/SceneManager.hpp
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-11-22 09:46:10 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-11-22 09:46:10 +0100
commitef6acbee3bd00c322a56221d992d08a64e15e3b9 (patch)
treeb79e7310be0d7b1fbf00b2caef6efdc139b3273f /src/crepe/api/SceneManager.hpp
parent7f1ba9e90ddcdbcd3b6ab11c5796ef8043f71cc1 (diff)
Little fix (typo)
Diffstat (limited to 'src/crepe/api/SceneManager.hpp')
-rw-r--r--src/crepe/api/SceneManager.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/api/SceneManager.hpp b/src/crepe/api/SceneManager.hpp
index 1edaa7d..ccc755f 100644
--- a/src/crepe/api/SceneManager.hpp
+++ b/src/crepe/api/SceneManager.hpp
@@ -9,7 +9,7 @@ void SceneManager::add_scene(Args &&... args) {
using namespace std;
static_assert(is_base_of<Scene, T>::value, "T must be derived from Scene");
- Scene * scene = new T(std::forward<args>(args)...);
+ Scene * scene = new T(std::forward<Args>(args)...);
scene->component_manager = this->component_manager;