aboutsummaryrefslogtreecommitdiff
path: root/src/Core/StateManager.cpp
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2025-08-14 00:42:05 +0200
committerhachem <im@hachem.wtf>2025-08-14 00:42:05 +0200
commite050dce79b67ae6386240567a994454711ab998d (patch)
tree4b5f55471d86b8ee80d531696e65dcea3b713e7a /src/Core/StateManager.cpp
parent2e246683df3b18e8e129adb0ada25be5f82f5b59 (diff)
[add]: Custom memory managers and fix includes
Diffstat (limited to 'src/Core/StateManager.cpp')
-rw-r--r--src/Core/StateManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Core/StateManager.cpp b/src/Core/StateManager.cpp
index 30d6b1d..266bafa 100644
--- a/src/Core/StateManager.cpp
+++ b/src/Core/StateManager.cpp
@@ -19,7 +19,7 @@ namespace Donut
m_CurrentStateName = "";
}
- void StateManager::RegisterState(const std::string& stateName, std::unique_ptr<State> state)
+ void StateManager::RegisterState(const std::string& stateName, Scope<State> state)
{
if (m_States.find(stateName) != m_States.end())
DONUT_WARN("State '{}' already exists, overwriting", stateName);