From 5f84bc7c29b8ab3f875a99a853326fc3004bb09b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20Ka=CC=88fer?= Date: Fri, 11 Apr 2014 16:48:49 -0400 Subject: [PATCH] fix initialization order background: use_raster was of undefined value, so it would sometimes be true on app startup --- include/llmr/map/map.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/llmr/map/map.hpp b/include/llmr/map/map.hpp index 99f7a1a19..a7116849b 100644 --- a/include/llmr/map/map.hpp +++ b/include/llmr/map/map.hpp @@ -81,12 +81,13 @@ private: GlyphAtlas glyphAtlas; Painter painter; + bool use_raster = false; + int32_t min_zoom; int32_t max_zoom; float pixel_ratio; - bool use_raster = false; std::forward_list tiles; std::forward_list> tile_data;