diff options
author | Anand Thakker <anandthakker@users.noreply.github.com> | 2018-08-02 13:48:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-02 13:48:47 -0400 |
commit | d25e1a1e7f313efd78aa76c76e4fed5f4d792d8a (patch) | |
tree | fb3e191cf79c09e14e3bf41e1d3212a74175f985 /include/mbgl/style/expression/dsl.hpp | |
parent | 952c4131e6a46fd0fab2208379dc340fb02924e3 (diff) | |
download | qtlocation-mapboxgl-d25e1a1e7f313efd78aa76c76e4fed5f4d792d8a.tar.gz |
Relax typing for comparison operators (#12537)
* Relax typing for comparison operators
Ports https://github.com/mapbox/mapbox-gl-js/pull/6961
* Review comments
* Lint fixes
Diffstat (limited to 'include/mbgl/style/expression/dsl.hpp')
-rw-r--r-- | include/mbgl/style/expression/dsl.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mbgl/style/expression/dsl.hpp b/include/mbgl/style/expression/dsl.hpp index e9de20de18..a4483a6fe6 100644 --- a/include/mbgl/style/expression/dsl.hpp +++ b/include/mbgl/style/expression/dsl.hpp @@ -31,6 +31,7 @@ std::unique_ptr<Expression> literal(Value value); std::unique_ptr<Expression> literal(std::initializer_list<double> value); std::unique_ptr<Expression> literal(std::initializer_list<const char *> value); +std::unique_ptr<Expression> assertion(type::Type, std::unique_ptr<Expression>); std::unique_ptr<Expression> number(std::unique_ptr<Expression>); std::unique_ptr<Expression> string(std::unique_ptr<Expression>); std::unique_ptr<Expression> boolean(std::unique_ptr<Expression>); |