summaryrefslogtreecommitdiff
path: root/include/mbgl/style/expression/dsl.hpp
diff options
context:
space:
mode:
authorAnand Thakker <anandthakker@users.noreply.github.com>2018-08-02 13:48:47 -0400
committerGitHub <noreply@github.com>2018-08-02 13:48:47 -0400
commitd25e1a1e7f313efd78aa76c76e4fed5f4d792d8a (patch)
treefb3e191cf79c09e14e3bf41e1d3212a74175f985 /include/mbgl/style/expression/dsl.hpp
parent952c4131e6a46fd0fab2208379dc340fb02924e3 (diff)
downloadqtlocation-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.hpp1
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>);