mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
fix android & mac builds
This commit is contained in:
parent
dc6637e130
commit
8ce5700aad
1 changed files with 2 additions and 2 deletions
|
@ -92,8 +92,8 @@ namespace geode {
|
|||
protected:
|
||||
virtual T& getValueMut() const = 0;
|
||||
|
||||
template <class T>
|
||||
void parseDefaultValue(JsonExpectedValue& json, T& defaultValue) {
|
||||
template <class D>
|
||||
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)) {
|
||||
|
|
Loading…
Reference in a new issue