From 00cc510d5b9dfdac22c8bb8d5453a8f2b9c25ea8 Mon Sep 17 00:00:00 2001 From: matcool <26722564+matcool@users.noreply.github.com> Date: Tue, 12 Nov 2024 02:41:35 -0300 Subject: [PATCH] fix typename --- loader/include/Geode/utils/Task.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;