[build] Fix builds with -pedantic
This commit is contained in:
@@ -17,7 +17,7 @@ bool isGlobalPropertyConstant(const Expression& expression, const T& properties)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
bool isConstant = true;
|
||||
expression.eachChild([&](const Expression& e) {
|
||||
if (isConstant && !isGlobalPropertyConstant(e, properties)) {
|
||||
@@ -25,7 +25,7 @@ bool isGlobalPropertyConstant(const Expression& expression, const T& properties)
|
||||
}
|
||||
});
|
||||
return isConstant;
|
||||
};
|
||||
}
|
||||
|
||||
bool isFeatureConstant(const Expression& expression);
|
||||
bool isZoomConstant(const Expression& e);
|
||||
|
||||
Reference in New Issue
Block a user