summaryrefslogtreecommitdiff
path: root/include/mbgl/map/tile_data.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/map/tile_data.hpp')
-rw-r--r--include/mbgl/map/tile_data.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/map/tile_data.hpp b/include/mbgl/map/tile_data.hpp
index 7fbb5d5068..c8a13b83de 100644
--- a/include/mbgl/map/tile_data.hpp
+++ b/include/mbgl/map/tile_data.hpp
@@ -46,7 +46,7 @@ public:
};
public:
- TileData(Tile::ID const& id, const util::ptr<SourceInfo> &source);
+ TileData(Tile::ID const& id, const SourceInfo&);
~TileData();
void request(uv::worker&, FileSource&, float pixelRatio, std::function<void ()> callback);
@@ -69,7 +69,7 @@ public:
std::atomic<State> state;
public:
- util::ptr<SourceInfo> source;
+ const SourceInfo& source;
protected:
std::unique_ptr<Request> req;