diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-02-13 15:09:11 -0800 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-03-06 16:17:49 +0100 |
commit | 8c0acecbe362be4a40638491b67ee5fe3d23a65e (patch) | |
tree | 0c9d87f4f90e335703d47e9e207977095cd2b4f7 /include/mbgl/storage | |
parent | 8408dc9e4dbb0302d523e893861b60473a33c91e (diff) | |
download | qtlocation-mapboxgl-8c0acecbe362be4a40638491b67ee5fe3d23a65e.tar.gz |
fix handling around unique_ptr releases
Diffstat (limited to 'include/mbgl/storage')
-rw-r--r-- | include/mbgl/storage/default/shared_request_base.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/storage/default/shared_request_base.hpp b/include/mbgl/storage/default/shared_request_base.hpp index 7745bef2b5..2d56615608 100644 --- a/include/mbgl/storage/default/shared_request_base.hpp +++ b/include/mbgl/storage/default/shared_request_base.hpp @@ -34,7 +34,7 @@ public: MBGL_VERIFY_THREAD(tid); if (source) { - source->notify(this, observers, std::shared_ptr<const Response>(response.release()), + source->notify(this, observers, std::shared_ptr<const Response>(std::move(response)), hint); } } |