From 63fa43738670d8aa6abc4138176fb2f34a4185ea Mon Sep 17 00:00:00 2001 From: HJfod <60038575+HJfod@users.noreply.github.com> Date: Thu, 5 Sep 2024 12:08:09 +0300 Subject: [PATCH] fix android build --- loader/include/Geode/loader/SettingV3.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/include/Geode/loader/SettingV3.hpp b/loader/include/Geode/loader/SettingV3.hpp index 9d51732d..01b07833 100644 --- a/loader/include/Geode/loader/SettingV3.hpp +++ b/loader/include/Geode/loader/SettingV3.hpp @@ -562,7 +562,7 @@ namespace geode { using Ty = typename SettingTypeForValueType::SettingType; return new EventListener( [callback = std::move(callback)](std::shared_ptr setting) { - if (auto ty = typeinfo_pointer_cast(setting)) { + if (auto ty = geode::cast::typeinfo_pointer_cast(setting)) { callback(ty->getValue()); } },