From 8ce5700aad41e5133cb7353a97ba66c319a4f91b Mon Sep 17 00:00:00 2001 From: HJfod <60038575+HJfod@users.noreply.github.com> Date: Fri, 23 Aug 2024 12:38:15 +0300 Subject: [PATCH] fix android & mac builds --- loader/include/Geode/loader/SettingV3.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loader/include/Geode/loader/SettingV3.hpp b/loader/include/Geode/loader/SettingV3.hpp index 03506ca5..d75665b2 100644 --- a/loader/include/Geode/loader/SettingV3.hpp +++ b/loader/include/Geode/loader/SettingV3.hpp @@ -92,8 +92,8 @@ namespace geode { protected: virtual T& getValueMut() const = 0; - template - void parseDefaultValue(JsonExpectedValue& json, T& defaultValue) { + template + void parseDefaultValue(JsonExpectedValue& json, D& defaultValue) { auto value = json.needs("default"); // Check if this is a platform-specific default value if (value.isObject() && value.has(GEODE_PLATFORM_SHORT_IDENTIFIER_NOARCH)) {