summaryrefslogtreecommitdiff
path: root/include/mbgl/style/expression/match.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/style/expression/match.hpp')
-rw-r--r--include/mbgl/style/expression/match.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/mbgl/style/expression/match.hpp b/include/mbgl/style/expression/match.hpp
index 682d784b0f..3775e38067 100644
--- a/include/mbgl/style/expression/match.hpp
+++ b/include/mbgl/style/expression/match.hpp
@@ -32,7 +32,9 @@ public:
bool operator==(const Expression& e) const override;
std::vector<optional<Value>> possibleOutputs() const override;
-
+
+ mbgl::Value serialize() const override;
+ std::string getOperator() const override { return "match"; }
private:
std::unique_ptr<Expression> input;
Branches branches;