diff options
author | Vincent Schüßler <v.schuessler@gmail.com> | 2014-11-22 19:55:07 +0100 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2014-11-25 14:10:59 -0800 |
commit | 2b0cb4a518aca590d91f2cff3cab1fe26d7f6be3 (patch) | |
tree | 2a19e744bd2270fe2059142b91c52900ea67293a /src | |
parent | 4c93c6cca39d9b211227525b13dd32dba64e2aee (diff) | |
download | qtlocation-mapboxgl-2b0cb4a518aca590d91f2cff3cab1fe26d7f6be3.tar.gz |
Fix member shadowing warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/storage/http_request.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/storage/http_request.cpp b/src/storage/http_request.cpp index 46b1d5e194..c87a92e123 100644 --- a/src/storage/http_request.cpp +++ b/src/storage/http_request.cpp @@ -36,12 +36,12 @@ void HTTPRequest::startCacheRequest() { cache_baton->request = this; cache_baton->path = path; cache_baton->store = store; - store->get(path, [](std::unique_ptr<Response> &&response, void *ptr) { + store->get(path, [](std::unique_ptr<Response> &&response_, void *ptr) { // Wrap in a unique_ptr, so it'll always get auto-destructed. std::unique_ptr<CacheRequestBaton> baton((CacheRequestBaton *)ptr); if (baton->request) { baton->request->cache_baton = nullptr; - baton->request->handleCacheResponse(std::move(response)); + baton->request->handleCacheResponse(std::move(response_)); } }, cache_baton); } |