diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2018-07-20 15:40:47 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2018-07-24 10:06:18 +0300 |
commit | cb714d57c5c5ad181aaf5e1690221da8d965682b (patch) | |
tree | 21fa8cc6caf1e66de40f9715fa98426e86cfd964 /include/mbgl/style/expression/coalesce.hpp | |
parent | 1683da3225d0cbed3bb6238fd292fa288f6a32d6 (diff) | |
download | qtlocation-mapboxgl-cb714d57c5c5ad181aaf5e1690221da8d965682b.tar.gz |
[core] Replace expressions RTTI with enums + static cast
Diffstat (limited to 'include/mbgl/style/expression/coalesce.hpp')
-rw-r--r-- | include/mbgl/style/expression/coalesce.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/style/expression/coalesce.hpp b/include/mbgl/style/expression/coalesce.hpp index a858bef695..cd60cee02e 100644 --- a/include/mbgl/style/expression/coalesce.hpp +++ b/include/mbgl/style/expression/coalesce.hpp @@ -15,7 +15,7 @@ class Coalesce : public Expression { public: using Args = std::vector<std::unique_ptr<Expression>>; Coalesce(const type::Type& type_, Args args_) : - Expression(type_), + Expression(Kind::Coalesce, type_), args(std::move(args_)) {} |