summaryrefslogtreecommitdiff
path: root/include/mbgl/style/expression/match.hpp
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2018-07-20 15:40:47 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2018-07-23 21:59:20 +0300
commitd13ebedadbd6ef9d6308c3399d0d88b140de421d (patch)
tree9fbcd5274b408ee3a194560b6c5d4760aa118fb2 /include/mbgl/style/expression/match.hpp
parent3821f74079f88b6a5b3b0ea210fe529132a3494f (diff)
downloadqtlocation-mapboxgl-d13ebedadbd6ef9d6308c3399d0d88b140de421d.tar.gz
[core] Replace expressions RTTI with enums + static castupstream/expressions-rtti-refactor
Diffstat (limited to 'include/mbgl/style/expression/match.hpp')
-rw-r--r--include/mbgl/style/expression/match.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/style/expression/match.hpp b/include/mbgl/style/expression/match.hpp
index 3775e38067..2ce4b7a533 100644
--- a/include/mbgl/style/expression/match.hpp
+++ b/include/mbgl/style/expression/match.hpp
@@ -19,7 +19,7 @@ public:
std::unique_ptr<Expression> input_,
Branches branches_,
std::unique_ptr<Expression> otherwise_
- ) : Expression(type_),
+ ) : Expression(Kind::Match, type_),
input(std::move(input_)),
branches(std::move(branches_)),
otherwise(std::move(otherwise_))