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-23 21:59:20 +0300 |
commit | d13ebedadbd6ef9d6308c3399d0d88b140de421d (patch) | |
tree | 9fbcd5274b408ee3a194560b6c5d4760aa118fb2 /include/mbgl/style/expression/match.hpp | |
parent | 3821f74079f88b6a5b3b0ea210fe529132a3494f (diff) | |
download | qtlocation-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.hpp | 2 |
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_)) |