diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2019-05-24 17:47:27 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2019-05-28 16:30:49 +0300 |
commit | cc26ef17d52367a768a134140c6c95cb2b880733 (patch) | |
tree | e61b3b464273b7950ee0d74b8a7e39bcc845ed93 /platform/default/include | |
parent | 2f97a2660ada44cd18f2e02b4de4eb42cfcb07b1 (diff) | |
download | qtlocation-mapboxgl-cc26ef17d52367a768a134140c6c95cb2b880733.tar.gz |
[core] Introduce usage tag for resources
Make the distinction if a resource is being requested for offline
usage or if it will be used immediately.
Fixes #14746
Diffstat (limited to 'platform/default/include')
-rw-r--r-- | platform/default/include/mbgl/storage/offline_download.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/default/include/mbgl/storage/offline_download.hpp b/platform/default/include/mbgl/storage/offline_download.hpp index 1e77ff1d35..84b319fb5a 100644 --- a/platform/default/include/mbgl/storage/offline_download.hpp +++ b/platform/default/include/mbgl/storage/offline_download.hpp @@ -62,7 +62,7 @@ private: std::deque<Resource> resourcesRemaining; std::list<std::tuple<Resource, Response>> buffer; - void queueResource(Resource); + void queueResource(Resource&&); void queueTiles(style::SourceType, uint16_t tileSize, const Tileset&); }; |