summaryrefslogtreecommitdiff
path: root/src/mbgl/style/filter.cpp
blob: 99d91cbcb436921cac7e228786ecce798a824681 (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()(expression::EvaluationContext context) const {
    return FilterBase::visit(*this, FilterEvaluator { context });
}

} // namespace style
} // namespace mbgl