summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/parse/filter.benchmark.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/benchmark/parse/filter.benchmark.cpp b/benchmark/parse/filter.benchmark.cpp
index 3918f03539..d650cb72c9 100644
--- a/benchmark/parse/filter.benchmark.cpp
+++ b/benchmark/parse/filter.benchmark.cpp
@@ -14,7 +14,8 @@ using namespace mbgl;
style::Filter parse(const char* expression) {
rapidjson::GenericDocument<rapidjson::UTF8<>, rapidjson::CrtAllocator> doc;
doc.Parse<0>(expression);
- return *style::conversion::convert<style::Filter, JSValue>(doc);
+ style::conversion::Error error;
+ return *style::conversion::convert<style::Filter, JSValue>(doc, error);
}
static void Parse_Filter(benchmark::State& state) {