[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.
This commit is contained in:
Alexander Shalamov
2019-03-13 19:05:18 +02:00
parent b7702995fc
commit c399c459c2

View File

@@ -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"));