summaryrefslogtreecommitdiff
path: root/src/mbgl/util/uv_detail.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/util/uv_detail.hpp')
-rw-r--r--src/mbgl/util/uv_detail.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/util/uv_detail.hpp b/src/mbgl/util/uv_detail.hpp
index 059d7c0ddb..7e2c16a2a3 100644
--- a/src/mbgl/util/uv_detail.hpp
+++ b/src/mbgl/util/uv_detail.hpp
@@ -75,8 +75,8 @@ public:
}
inline ~handle() {
- uv_close(t.release(), [](uv_handle_t* handle) {
- delete reinterpret_cast<T*>(handle);
+ uv_close(t.release(), [](uv_handle_t* h) {
+ delete reinterpret_cast<T*>(h);
});
}