summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVincent Schüßler <v.schuessler@gmail.com>2014-11-22 19:55:07 +0100
committerJohn Firebaugh <john.firebaugh@gmail.com>2014-11-25 14:10:59 -0800
commit2b0cb4a518aca590d91f2cff3cab1fe26d7f6be3 (patch)
tree2a19e744bd2270fe2059142b91c52900ea67293a /src
parent4c93c6cca39d9b211227525b13dd32dba64e2aee (diff)
downloadqtlocation-mapboxgl-2b0cb4a518aca590d91f2cff3cab1fe26d7f6be3.tar.gz
Fix member shadowing warnings
Diffstat (limited to 'src')
-rw-r--r--src/storage/http_request.cpp4
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);
}