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.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/mbgl/style/expression/match.hpp b/include/mbgl/style/expression/match.hpp
index e17fe96bfe..682d784b0f 100644
--- a/include/mbgl/style/expression/match.hpp
+++ b/include/mbgl/style/expression/match.hpp
@@ -25,14 +25,15 @@ public:
otherwise(std::move(otherwise_))
{}
+ EvaluationResult evaluate(const EvaluationContext& params) const override;
+
void eachChild(const std::function<void(const Expression&)>& visit) const override;
bool operator==(const Expression& e) const override;
- EvaluationResult evaluate(const EvaluationContext& params) const override;
-
+ std::vector<optional<Value>> possibleOutputs() const override;
+
private:
-
std::unique_ptr<Expression> input;
Branches branches;
std::unique_ptr<Expression> otherwise;