From d13ebedadbd6ef9d6308c3399d0d88b140de421d Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Fri, 20 Jul 2018 15:40:47 +0300 Subject: [core] Replace expressions RTTI with enums + static cast --- include/mbgl/style/expression/match.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/mbgl/style/expression/match.hpp') 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 input_, Branches branches_, std::unique_ptr otherwise_ - ) : Expression(type_), + ) : Expression(Kind::Match, type_), input(std::move(input_)), branches(std::move(branches_)), otherwise(std::move(otherwise_)) -- cgit v1.2.1