summaryrefslogtreecommitdiff
path: root/src/mbgl/map/map_context.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/map/map_context.hpp')
-rw-r--r--src/mbgl/map/map_context.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/map/map_context.hpp b/src/mbgl/map/map_context.hpp
index c2e0213dfb..433d5ecea5 100644
--- a/src/mbgl/map/map_context.hpp
+++ b/src/mbgl/map/map_context.hpp
@@ -25,10 +25,10 @@ class Sprite;
class Worker;
class StillImage;
class SpriteImage;
+class FileRequest;
struct LatLng;
struct LatLngBounds;
-
struct FrameData {
std::array<uint16_t, 2> framebufferSize;
};
@@ -92,7 +92,7 @@ private:
std::string styleURL;
std::string styleJSON;
- RequestHolder styleRequest;
+ std::unique_ptr<FileRequest> styleRequest;
Map::StillImageCallback callback;
size_t sourceCacheSize;