summaryrefslogtreecommitdiff
path: root/include
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 /include
parent4c93c6cca39d9b211227525b13dd32dba64e2aee (diff)
downloadqtlocation-mapboxgl-2b0cb4a518aca590d91f2cff3cab1fe26d7f6be3.tar.gz
Fix member shadowing warnings
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/util/uv_detail.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/util/uv_detail.hpp b/include/mbgl/util/uv_detail.hpp
index 3bbfa4ac5a..5da222b045 100644
--- a/include/mbgl/util/uv_detail.hpp
+++ b/include/mbgl/util/uv_detail.hpp
@@ -129,8 +129,8 @@ public:
uv_worker_init(w, loop, count, name);
}
inline ~worker() {
- uv_worker_close(w, [](uv_worker_t *worker) {
- delete worker;
+ uv_worker_close(w, [](uv_worker_t *worker_) {
+ delete worker_;
});
}
inline void add(void *data, uv_worker_cb work_cb, uv_worker_after_cb after_work_cb) {