summaryrefslogtreecommitdiff
path: root/include/mbgl/style/expression/case.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/style/expression/case.hpp')
-rw-r--r--include/mbgl/style/expression/case.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mbgl/style/expression/case.hpp b/include/mbgl/style/expression/case.hpp
index e61a55fc6d..667ca53712 100644
--- a/include/mbgl/style/expression/case.hpp
+++ b/include/mbgl/style/expression/case.hpp
@@ -28,6 +28,7 @@ public:
std::vector<optional<Value>> possibleOutputs() const override;
+ std::string getOperator() const override { return "case"; }
private:
std::vector<Branch> branches;
std::unique_ptr<Expression> otherwise;