diff --git a/loader/include/Geode/loader/Mod.hpp b/loader/include/Geode/loader/Mod.hpp index af89e6e4..6e28a13c 100644 --- a/loader/include/Geode/loader/Mod.hpp +++ b/loader/include/Geode/loader/Mod.hpp @@ -264,7 +264,7 @@ namespace geode { template T getSettingValue(std::string_view const key) const { using S = typename SettingTypeForValueType::SettingType; - if (auto sett = typeinfo_pointer_cast(this->getSettingV3(key))) { + if (auto sett = cast::typeinfo_pointer_cast(this->getSettingV3(key))) { return sett->getValue(); } return T(); @@ -273,7 +273,7 @@ namespace geode { template T setSettingValue(std::string_view const key, T const& value) { using S = typename SettingTypeForValueType::SettingType; - if (auto sett = typeinfo_pointer_cast(this->getSettingV3(key))) { + if (auto sett = cast::typeinfo_pointer_cast(this->getSettingV3(key))) { auto old = sett->getValue(); sett->setValue(value); return old;