diff options
Diffstat (limited to 'benchmark/parse')
-rw-r--r-- | benchmark/parse/filter.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/benchmark/parse/filter.cpp b/benchmark/parse/filter.cpp index 24314e8584..6b430a9b11 100644 --- a/benchmark/parse/filter.cpp +++ b/benchmark/parse/filter.cpp @@ -9,12 +9,8 @@ #include <rapidjson/document.h> -#include <map> - using namespace mbgl; -typedef std::multimap<std::string, Value> Properties; - style::Filter parse(const char* expression) { rapidjson::GenericDocument<rapidjson::UTF8<>, rapidjson::CrtAllocator> doc; doc.Parse<0>(expression); @@ -29,7 +25,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 Properties properties = { { "foo", std::string("bar") } }; + const PropertyMap properties = { { "foo", std::string("bar") } }; while (state.KeepRunning()) { filter(FeatureType::Unknown, [&] (const std::string& key) -> optional<Value> { |