summaryrefslogtreecommitdiff
path: root/include/mbgl/storage/resource.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-01-13 17:10:13 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-02-10 15:40:20 -0800
commitdbb8e58aea00a84716aafa6887b50c0186169f9e (patch)
treee981b82badcf800d6d33acac94d44a78f7b57776 /include/mbgl/storage/resource.hpp
parentf3d4107d19eef20cc2cf30cd347301128b4f9a86 (diff)
downloadqtlocation-mapboxgl-dbb8e58aea00a84716aafa6887b50c0186169f9e.tar.gz
[core] Moving caching logic to DefaultFileSource
This results in OnlineFileSource containing precisely the logic we want for reuse by OfflineFileSource, and no more.
Diffstat (limited to 'include/mbgl/storage/resource.hpp')
-rw-r--r--include/mbgl/storage/resource.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/storage/resource.hpp b/include/mbgl/storage/resource.hpp
index c97384e6a7..4c68e71003 100644
--- a/include/mbgl/storage/resource.hpp
+++ b/include/mbgl/storage/resource.hpp
@@ -47,8 +47,8 @@ public:
static Resource spriteImage(const std::string& base, float pixelRatio);
static Resource spriteJSON(const std::string& base, float pixelRatio);
- const Kind kind;
- const std::string url;
+ Kind kind;
+ std::string url;
// Includes auxiliary data if this is a tile request.
optional<TileData> tileData;