From 3b5b15a4e4b1b86c9576969d868caa48520f8d8c Mon Sep 17 00:00:00 2001 From: artemp Date: Wed, 29 Oct 2014 13:44:26 -0400 Subject: [PATCH] store glyphAtlas by value in Map object, pass by ref change hasData signiture to expect ```StyleLayer const&``` --- include/mbgl/map/map.hpp | 8 +++----- include/mbgl/map/raster_tile_data.hpp | 2 +- include/mbgl/map/tile_data.hpp | 2 +- include/mbgl/map/tile_parser.hpp | 4 ++-- include/mbgl/map/vector_tile_data.hpp | 2 +- src/map/map.cpp | 5 ++--- src/map/raster_tile_data.cpp | 2 +- src/map/tile_parser.cpp | 6 +++--- src/map/vector_tile_data.cpp | 15 ++++++--------- src/renderer/painter.cpp | 2 +- src/renderer/symbol_bucket.cpp | 2 +- 11 files changed, 22 insertions(+), 28 deletions(-) diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index 8378b2737..d5e725241 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -3,12 +3,11 @@ #include #include - +#include #include #include #include #include - #include #include #include @@ -17,7 +16,6 @@ namespace mbgl { -class GlyphAtlas; class GlyphStore; class LayerDescription; class SpriteAtlas; @@ -131,7 +129,7 @@ public: inline const TransformState &getState() const { return state; } inline util::ptr getFileSource() const { return fileSource; } inline util::ptr