From da35ef9f49139f4dfc7eb5ea2a04f800e895a65f Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Fri, 15 Jul 2016 16:07:42 -0700 Subject: [core] Add support for $id key to filters https://github.com/mapbox/mapbox-gl-style-spec/issues/391 --- benchmark/parse/filter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'benchmark') 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 { + filter(FeatureType::Unknown, {}, [&] (const std::string& key) -> optional { auto it = properties.find(key); if (it == properties.end()) return {}; -- cgit v1.2.1