diff options
-rw-r--r-- | include/mbgl/style/expression/is_constant.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/style/expression/is_constant.hpp b/include/mbgl/style/expression/is_constant.hpp index bd758977d8..2861407af0 100644 --- a/include/mbgl/style/expression/is_constant.hpp +++ b/include/mbgl/style/expression/is_constant.hpp @@ -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); |