From 1cc1d4ea08ae02c3cc9b4dd1474845456c17d1bc Mon Sep 17 00:00:00 2001 From: Sudarsana Babu Nagineni Date: Tue, 26 Mar 2019 00:00:37 +0200 Subject: [core] Add setter/getter for size property in MapOptions --- test/api/api_misuse.test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/api/api_misuse.test.cpp') diff --git a/test/api/api_misuse.test.cpp b/test/api/api_misuse.test.cpp index 6fc04ab26f..17eb2de14b 100644 --- a/test/api/api_misuse.test.cpp +++ b/test/api/api_misuse.test.cpp @@ -25,9 +25,9 @@ TEST(API, RenderWithoutCallback) { float pixelRatio { 1 }; HeadlessFrontend frontend { pixelRatio, threadPool }; - auto map = std::make_unique(frontend, MapObserver::nullObserver(), frontend.getSize(), + auto map = std::make_unique(frontend, MapObserver::nullObserver(), pixelRatio, std::make_shared(), threadPool, - MapOptions().withMapMode(MapMode::Static)); + MapOptions().withMapMode(MapMode::Static).withSize(frontend.getSize())); map->renderStill(nullptr); // Force Map thread to join. -- cgit v1.2.1