summaryrefslogtreecommitdiff
path: root/src/map/raster_tile_data.cpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-09-17 16:01:35 +0200
committerKonstantin Käfer <mail@kkaefer.com>2014-09-24 16:16:29 +0200
commit19129cbd023345569b24f1b9863e0ee32ae61182 (patch)
tree5ba50fe2bef783594ca1bff64c74137f575da623 /src/map/raster_tile_data.cpp
parent111fccb76c1f599470074a75ca77e9de016cca73 (diff)
downloadqtlocation-mapboxgl-19129cbd023345569b24f1b9863e0ee32ae61182.tar.gz
make SourceInfo object noncopyable and use a shared_pointer for it
Diffstat (limited to 'src/map/raster_tile_data.cpp')
-rw-r--r--src/map/raster_tile_data.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/raster_tile_data.cpp b/src/map/raster_tile_data.cpp
index 2f09a5fec5..e7725b7abd 100644
--- a/src/map/raster_tile_data.cpp
+++ b/src/map/raster_tile_data.cpp
@@ -5,7 +5,7 @@
using namespace mbgl;
-RasterTileData::RasterTileData(Tile::ID id, Map &map, const SourceInfo &source)
+RasterTileData::RasterTileData(Tile::ID id, Map &map, const util::ptr<SourceInfo> &source)
: TileData(id, map, source),
bucket(map.getTexturepool(), properties) {
}