fix android & mac builds

This commit is contained in:
HJfod 2024-08-23 12:38:15 +03:00
parent dc6637e130
commit 8ce5700aad

View file

@ -92,8 +92,8 @@ namespace geode {
protected: protected:
virtual T& getValueMut() const = 0; virtual T& getValueMut() const = 0;
template <class T> template <class D>
void parseDefaultValue(JsonExpectedValue& json, T& defaultValue) { void parseDefaultValue(JsonExpectedValue& json, D& defaultValue) {
auto value = json.needs("default"); auto value = json.needs("default");
// Check if this is a platform-specific default value // Check if this is a platform-specific default value
if (value.isObject() && value.has(GEODE_PLATFORM_SHORT_IDENTIFIER_NOARCH)) { if (value.isObject() && value.has(GEODE_PLATFORM_SHORT_IDENTIFIER_NOARCH)) {