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)) {