diff options
Diffstat (limited to 'benchmark/parse/filter.benchmark.cpp')
-rw-r--r-- | benchmark/parse/filter.benchmark.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/parse/filter.benchmark.cpp b/benchmark/parse/filter.benchmark.cpp index 1ae2b0f2bc..7f94d9d744 100644 --- a/benchmark/parse/filter.benchmark.cpp +++ b/benchmark/parse/filter.benchmark.cpp @@ -23,7 +23,7 @@ static void Parse_Filter(benchmark::State& state) { static void Parse_EvaluateFilter(benchmark::State& state) { const style::Filter filter = parse(R"FILTER(["==", "foo", "bar"])FILTER"); const StubGeometryTileFeature feature = { {}, FeatureType::Unknown , {}, {{ "foo", std::string("bar") }} }; - const style::expression::EvaluationContext context = { &feature }; + const style::expression::EvaluationContext context(&feature); while (state.KeepRunning()) { filter(context); |