diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2018-03-01 16:02:56 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2018-03-01 17:02:26 -0800 |
commit | 54f3dc961e3a9e668312d7210706cddcf19676f7 (patch) | |
tree | 2606d627a67594a7146aa45e428052c596c99235 /src/mbgl/style/expression/parsing_context.cpp | |
parent | 15ba70b5ff018ec2285e0459bf557d1f61240c41 (diff) | |
download | qtlocation-mapboxgl-54f3dc961e3a9e668312d7210706cddcf19676f7.tar.gz |
Relax type checking for "length"
Diffstat (limited to 'src/mbgl/style/expression/parsing_context.cpp')
-rw-r--r-- | src/mbgl/style/expression/parsing_context.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbgl/style/expression/parsing_context.cpp b/src/mbgl/style/expression/parsing_context.cpp index 880772d926..364c3f740a 100644 --- a/src/mbgl/style/expression/parsing_context.cpp +++ b/src/mbgl/style/expression/parsing_context.cpp @@ -15,6 +15,7 @@ #include <mbgl/style/expression/compound_expression.hpp> #include <mbgl/style/expression/equals.hpp> #include <mbgl/style/expression/interpolate.hpp> +#include <mbgl/style/expression/length.hpp> #include <mbgl/style/expression/let.hpp> #include <mbgl/style/expression/literal.hpp> #include <mbgl/style/expression/match.hpp> @@ -89,6 +90,7 @@ const ExpressionRegistry& getExpressionRegistry() { {"case", Case::parse}, {"coalesce", Coalesce::parse}, {"interpolate", parseInterpolate}, + {"length", Length::parse}, {"let", Let::parse}, {"literal", Literal::parse}, {"match", parseMatch}, |