diff --git a/loader/include/Geode/cocos/base_nodes/CCNode.h b/loader/include/Geode/cocos/base_nodes/CCNode.h index dd4e9989f..2281ad38d 100644 --- a/loader/include/Geode/cocos/base_nodes/CCNode.h +++ b/loader/include/Geode/cocos/base_nodes/CCNode.h @@ -649,7 +649,7 @@ class CC_DLL CCNode : public CCObject // CCArrayExt is defined in geode/utils/cocos.hpp, which we cannot include due to circular includes. // This is an incredibly hacky way to still be able to use the type - using CCArrayExt = geode::CCArrayExtCheck::type; + using CCArrayExt = typename geode::CCArrayExtCheck::type; static_assert(!std::is_void_v, "Please include to use getChildrenExt()"); return CCArrayExt(getChildren()); diff --git a/loader/include/Geode/utils/Task.hpp b/loader/include/Geode/utils/Task.hpp index 12b3580cc..baf851c72 100644 --- a/loader/include/Geode/utils/Task.hpp +++ b/loader/include/Geode/utils/Task.hpp @@ -1027,7 +1027,7 @@ namespace geode { return {}; } - void return_base(MyTask::Type value) { + void return_base(typename MyTask::Type value) { MyTask::finish(m_handle.lock(), std::move(value)); } @@ -1094,7 +1094,7 @@ namespace geode { ); } - Task::Type await_resume() { + typename Task::Type await_resume() { return std::move(*task.getFinishedValue()); } };