summaryrefslogtreecommitdiff
path: root/platform/default/include
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-08-29 13:47:59 +0300
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-08-29 17:28:51 +0300
commit62e1e03c09bbcd0240ed4bd7eeacc156d6b94cc3 (patch)
tree5d65847ceb7657ef19053ac9ac327570de716a35 /platform/default/include
parentbecc705f05c00854ff9952925f203ed5cf829774 (diff)
downloadqtlocation-mapboxgl-62e1e03c09bbcd0240ed4bd7eeacc156d6b94cc3.tar.gz
[core] Move semantics for OfflineDownload::ensureResource()
Diffstat (limited to 'platform/default/include')
-rw-r--r--platform/default/include/mbgl/storage/offline_download.hpp2
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 84b319fb5a..fe5d26f9eb 100644
--- a/platform/default/include/mbgl/storage/offline_download.hpp
+++ b/platform/default/include/mbgl/storage/offline_download.hpp
@@ -46,7 +46,7 @@ private:
* While the request is in progress, it is recorded in `requests`. If the download
* is deactivated, all in progress requests are cancelled.
*/
- void ensureResource(const Resource&, std::function<void (Response)> = {});
+ void ensureResource(Resource&&, std::function<void (Response)> = {});
void onMapboxTileCountLimitExceeded();