summaryrefslogtreecommitdiff
path: root/src/mbgl/style/filter.cpp
blob: 51aa6bcf82b0c0144860f5880667800a8aff27dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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