diff options
Diffstat (limited to 'platform/default/include/mbgl/storage/offline_download.hpp')
-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 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(); |