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.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/mbgl/map/tile_data.hpp b/include/mbgl/map/tile_data.hpp
index 9aaef84e04..900224be2d 100644
--- a/include/mbgl/map/tile_data.hpp
+++ b/include/mbgl/map/tile_data.hpp
@@ -19,8 +19,7 @@ class Map;
class Painter;
class SourceInfo;
class StyleLayer;
-
-namespace platform { class Request; }
+class Request;
class TileData : public std::enable_shared_from_this<TileData>,
private util::noncopyable {
@@ -72,7 +71,7 @@ public:
const SourceInfo &source;
protected:
- std::weak_ptr<platform::Request> req;
+ std::unique_ptr<Request> req;
std::string data;
// Contains the tile ID string for painting debug information.