diff options
Diffstat (limited to 'include/mbgl/style/expression/case.hpp')
-rw-r--r-- | include/mbgl/style/expression/case.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/style/expression/case.hpp b/include/mbgl/style/expression/case.hpp index 667ca53712..02dc3bc4c2 100644 --- a/include/mbgl/style/expression/case.hpp +++ b/include/mbgl/style/expression/case.hpp @@ -16,7 +16,7 @@ public: using Branch = std::pair<std::unique_ptr<Expression>, std::unique_ptr<Expression>>; Case(type::Type type_, std::vector<Branch> branches_, std::unique_ptr<Expression> otherwise_) - : Expression(type_), branches(std::move(branches_)), otherwise(std::move(otherwise_)) { + : Expression(Kind::Case, type_), branches(std::move(branches_)), otherwise(std::move(otherwise_)) { } static ParseResult parse(const mbgl::style::conversion::Convertible& value, ParsingContext& ctx); |