summaryrefslogtreecommitdiff
path: root/benchmark/api/query.benchmark.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/api/query.benchmark.cpp')
-rw-r--r--benchmark/api/query.benchmark.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/api/query.benchmark.cpp b/benchmark/api/query.benchmark.cpp
index 5e273d69ac..1db958c1be 100644
--- a/benchmark/api/query.benchmark.cpp
+++ b/benchmark/api/query.benchmark.cpp
@@ -32,8 +32,8 @@ public:
util::RunLoop loop;
ThreadPool threadPool{ 4 };
HeadlessFrontend frontend { { 1000, 1000 }, 1, threadPool };
- Map map { frontend, MapObserver::nullObserver(), frontend.getSize(), 1, threadPool,
- MapOptions().withMapMode(MapMode::Static),
+ Map map { frontend, MapObserver::nullObserver(), 1, threadPool,
+ MapOptions().withMapMode(MapMode::Static).withSize(frontend.getSize()),
ResourceOptions().withCachePath("benchmark/fixtures/api/cache.db").withAssetPath(".").withAccessToken("foobar") };
ScreenBox box{{ 0, 0 }, { 1000, 1000 }};
};