diff --git a/loader/include/Geode/utils/Task.hpp b/loader/include/Geode/utils/Task.hpp index bf4ef0fb..6971a2fc 100644 --- a/loader/include/Geode/utils/Task.hpp +++ b/loader/include/Geode/utils/Task.hpp @@ -976,7 +976,7 @@ namespace geode { } // this should be fine because the parent task can only have // one pending task at a time - std::shared_ptr::Handle> parentHandle = handle.promise().m_handle.lock(); + auto parentHandle = handle.promise().m_handle.lock(); if (!parentHandle) { handle.destroy(); return;