From 5e2b6bf636472a4464e6ab3ae0d9d01c68de041b Mon Sep 17 00:00:00 2001 From: Sudarsana Babu Nagineni Date: Thu, 7 Mar 2019 14:29:19 +0200 Subject: [core] Add MapOptions to define properties of Map To simplify the Map constructor, introduce MapOptions interface to define the properties that can be set on a Map. --- test/text/local_glyph_rasterizer.test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/text') diff --git a/test/text/local_glyph_rasterizer.test.cpp b/test/text/local_glyph_rasterizer.test.cpp index 0dfec1689a..20f825c935 100644 --- a/test/text/local_glyph_rasterizer.test.cpp +++ b/test/text/local_glyph_rasterizer.test.cpp @@ -1,6 +1,7 @@ #include #include #include +#include #include #include #include @@ -42,7 +43,7 @@ public: float pixelRatio { 1 }; HeadlessFrontend frontend; Map map { frontend, MapObserver::nullObserver(), frontend.getSize(), pixelRatio, fileSource, - threadPool, MapMode::Static}; + threadPool, MapOptions().withMapMode(MapMode::Static)}; void checkRendering(const char * name) { test::checkImage(std::string("test/fixtures/local_glyphs/") + name, -- cgit v1.2.1