summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-03-06 12:48:26 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-03-09 10:31:21 -0800
commitaf75736857213ff99145769883770d4b276a644a (patch)
tree9e47f7124c9dded643fe2094bcb4e15eee350566 /benchmark
parent86ea1e3ac38198edadf72444a2744d7f135d01ee (diff)
downloadqtlocation-mapboxgl-af75736857213ff99145769883770d4b276a644a.tar.gz
[core] Avoid unnecessary convert template instantiations
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/parse/filter.benchmark.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/parse/filter.benchmark.cpp b/benchmark/parse/filter.benchmark.cpp
index 5214f682d6..3918f03539 100644
--- a/benchmark/parse/filter.benchmark.cpp
+++ b/benchmark/parse/filter.benchmark.cpp
@@ -14,7 +14,7 @@ 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>(doc);
+ return *style::conversion::convert<style::Filter, JSValue>(doc);
}
static void Parse_Filter(benchmark::State& state) {