summaryrefslogtreecommitdiff
path: root/src/mbgl/style/filter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/style/filter.cpp')
-rw-r--r--src/mbgl/style/filter.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mbgl/style/filter.cpp b/src/mbgl/style/filter.cpp
new file mode 100644
index 0000000000..51aa6bcf82
--- /dev/null
+++ b/src/mbgl/style/filter.cpp
@@ -0,0 +1,13 @@
+#include <mbgl/style/filter.hpp>
+#include <mbgl/style/filter_evaluator.hpp>
+#include <mbgl/tile/geometry_tile_data.hpp>
+
+namespace mbgl {
+namespace style {
+
+bool Filter::operator()(const expression::EvaluationContext &context) const {
+ return FilterBase::visit(*this, FilterEvaluator { context });
+}
+
+} // namespace style
+} // namespace mbgl