aboutsummaryrefslogtreecommitdiff
path: root/src/Core/StateManager.cpp
diff options
context:
space:
mode:
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);