diff --git a/include/mbgl/map/raster_tile_data.hpp b/include/mbgl/map/raster_tile_data.hpp index c73897289..c3bd2fbe3 100644 --- a/include/mbgl/map/raster_tile_data.hpp +++ b/include/mbgl/map/raster_tile_data.hpp @@ -7,7 +7,6 @@ namespace mbgl { -class Map; class Painter; class SourceInfo; class StyleLayer; @@ -17,7 +16,7 @@ class RasterTileData : public TileData { friend class TileParser; public: - RasterTileData(Tile::ID const& id, Map &map, Texturepool&, const util::ptr &source); + RasterTileData(Tile::ID const& id, Texturepool&, const util::ptr &source); ~RasterTileData(); virtual void parse(); diff --git a/include/mbgl/map/source.hpp b/include/mbgl/map/source.hpp index 8de02735c..635623879 100644 --- a/include/mbgl/map/source.hpp +++ b/include/mbgl/map/source.hpp @@ -39,7 +39,8 @@ public: util::ptr