diff options
author | kevin <kevin.li@mapbox.com> | 2020-02-11 19:34:58 +0800 |
---|---|---|
committer | kevin <kevin.li@mapbox.com> | 2020-02-15 08:52:23 +0800 |
commit | 6f6e577acff72caa2f540ccfe4844578f4b00a2e (patch) | |
tree | 19a097a295e00ff93cbff0f8f45f4f7e2a17ca40 /include/mbgl/style/expression/in.hpp | |
parent | 447b694e25997db7b5133b9376d94a4aa2f9ac5f (diff) | |
download | qtlocation-mapboxgl-6f6e577acff72caa2f540ccfe4844578f4b00a2e.tar.gz |
Add expression_equality test for 'in'
Diffstat (limited to 'include/mbgl/style/expression/in.hpp')
-rw-r--r-- | include/mbgl/style/expression/in.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/mbgl/style/expression/in.hpp b/include/mbgl/style/expression/in.hpp index 6bd57e2833..f3e7551914 100644 --- a/include/mbgl/style/expression/in.hpp +++ b/include/mbgl/style/expression/in.hpp @@ -10,8 +10,7 @@ namespace expression { class In final : public Expression { public: - In(std::unique_ptr<Expression> needle_, std::unique_ptr<Expression> haystack_) - : Expression(Kind::In, type::Boolean), needle(std::move(needle_)), haystack(std::move(haystack_)) {} + In(std::unique_ptr<Expression> needle_, std::unique_ptr<Expression> haystack_); static ParseResult parse(const mbgl::style::conversion::Convertible& value, ParsingContext& ctx); |