diff options
Diffstat (limited to 'test/map/prefetch.test.cpp')
-rw-r--r-- | test/map/prefetch.test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/map/prefetch.test.cpp b/test/map/prefetch.test.cpp index 2830045983..520228e010 100644 --- a/test/map/prefetch.test.cpp +++ b/test/map/prefetch.test.cpp @@ -37,8 +37,8 @@ TEST(Map, PrefetchTiles) { }; HeadlessFrontend frontend { { 512, 512 }, 1, threadPool }; - MapAdapter map(frontend, observer, frontend.getSize(), 1, fileSource, threadPool, - MapOptions().withMapMode(MapMode::Continuous)); + MapAdapter map(frontend, observer, 1, fileSource, threadPool, + MapOptions().withMapMode(MapMode::Continuous).withSize(frontend.getSize())); std::vector<int> tiles; |