summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-07-15 16:07:42 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-07-18 12:37:36 -0700
commitda35ef9f49139f4dfc7eb5ea2a04f800e895a65f (patch)
treeb054fff3e07d7a6480059b9ae02910b3580f311c /benchmark
parentb03471bc8d2658464aacf02e043ef289e9d6e947 (diff)
downloadqtlocation-mapboxgl-da35ef9f49139f4dfc7eb5ea2a04f800e895a65f.tar.gz
[core] Add support for $id key to filters
https://github.com/mapbox/mapbox-gl-style-spec/issues/391
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/parse/filter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/parse/filter.cpp b/benchmark/parse/filter.cpp
index 6b430a9b11..5214f682d6 100644
--- a/benchmark/parse/filter.cpp
+++ b/benchmark/parse/filter.cpp
@@ -28,7 +28,7 @@ static void Parse_EvaluateFilter(benchmark::State& state) {
const PropertyMap properties = { { "foo", std::string("bar") } };
while (state.KeepRunning()) {
- filter(FeatureType::Unknown, [&] (const std::string& key) -> optional<Value> {
+ filter(FeatureType::Unknown, {}, [&] (const std::string& key) -> optional<Value> {
auto it = properties.find(key);
if (it == properties.end())
return {};