diff options
-rw-r--r-- | src/mbgl/tile/raster_tile_data.cpp | 4 | ||||
-rw-r--r-- | src/mbgl/tile/raster_tile_data.hpp | 1 | ||||
-rw-r--r-- | src/mbgl/tile/vector_tile_data.cpp | 2 | ||||
-rw-r--r-- | src/mbgl/tile/vector_tile_data.hpp | 1 |
4 files changed, 0 insertions, 8 deletions
diff --git a/src/mbgl/tile/raster_tile_data.cpp b/src/mbgl/tile/raster_tile_data.cpp index 67cf1a089d..7737f1fb7d 100644 --- a/src/mbgl/tile/raster_tile_data.cpp +++ b/src/mbgl/tile/raster_tile_data.cpp @@ -55,10 +55,6 @@ void RasterTileData::setData(std::shared_ptr<const std::string> data, }); } -RasterTileData::~RasterTileData() { - cancel(); -} - Bucket* RasterTileData::getBucket(const style::Layer&) { return bucket.get(); } diff --git a/src/mbgl/tile/raster_tile_data.hpp b/src/mbgl/tile/raster_tile_data.hpp index ef9e29c0d7..7c224ad812 100644 --- a/src/mbgl/tile/raster_tile_data.hpp +++ b/src/mbgl/tile/raster_tile_data.hpp @@ -21,7 +21,6 @@ public: RasterTileData(const OverscaledTileID&, const style::UpdateParameters&, const Tileset&); - ~RasterTileData(); void setNecessity(Necessity) final; diff --git a/src/mbgl/tile/vector_tile_data.cpp b/src/mbgl/tile/vector_tile_data.cpp index b2bb5e2112..e113054af1 100644 --- a/src/mbgl/tile/vector_tile_data.cpp +++ b/src/mbgl/tile/vector_tile_data.cpp @@ -15,8 +15,6 @@ VectorTileData::VectorTileData(const OverscaledTileID& id_, tileSource(*this, id_, parameters, tileset) { } -VectorTileData::~VectorTileData() = default; - void VectorTileData::setNecessity(Necessity necessity) { tileSource.setNecessity(static_cast<TileSource<VectorTileData>::Necessity>(necessity)); } diff --git a/src/mbgl/tile/vector_tile_data.hpp b/src/mbgl/tile/vector_tile_data.hpp index a9ea08674f..1d44abaec3 100644 --- a/src/mbgl/tile/vector_tile_data.hpp +++ b/src/mbgl/tile/vector_tile_data.hpp @@ -18,7 +18,6 @@ public: std::string sourceID, const style::UpdateParameters&, const Tileset&); - ~VectorTileData(); void setNecessity(Necessity) final; void setData(std::shared_ptr<const std::string> data, |