summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Shalamov <alexander.shalamov@mapbox.com>2019-03-13 19:05:18 +0200
committerAlexander Shalamov <alexander.shalamov@mapbox.com>2019-03-13 19:45:16 +0200
commitc399c459c29e648fa34afd1642b420ba7a96173c (patch)
tree71f41851452131904e605bf0db26d5c9cd67fc77
parentb7702995fc60bfe9d5c3ddcff8b38deca97d2ced (diff)
downloadqtlocation-mapboxgl-c399c459c29e648fa34afd1642b420ba7a96173c.tar.gz
[core] Remove fileSource from render.benchmark.cpp
There were two PRs that are in mergeable state, yet, had dependencies between each other, therefore, introduced build break on master for benchmark target.
-rw-r--r--benchmark/api/render.benchmark.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/api/render.benchmark.cpp b/benchmark/api/render.benchmark.cpp
index cf08cc4101..9a91e8b3bc 100644
--- a/benchmark/api/render.benchmark.cpp
+++ b/benchmark/api/render.benchmark.cpp
@@ -53,7 +53,7 @@ static void API_renderStill_reuse_map(::benchmark::State& state) {
static void API_renderStill_reuse_map_formatted_labels(::benchmark::State& state) {
RenderBenchmark bench;
- HeadlessFrontend frontend { { 1000, 1000 }, 1, bench.fileSource, bench.threadPool };
+ HeadlessFrontend frontend { { 1000, 1000 }, 1, bench.threadPool };
Map map { frontend, MapObserver::nullObserver(), frontend.getSize(), 1,
bench.fileSource, bench.threadPool, MapOptions().withMapMode(MapMode::Static) };
prepare(map, util::read_file("benchmark/fixtures/api/style_formatted_labels.json"));