diff options
Diffstat (limited to 'Source/cmUVHandlePtr.cxx')
-rw-r--r-- | Source/cmUVHandlePtr.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmUVHandlePtr.cxx b/Source/cmUVHandlePtr.cxx index e556a11b19..8ea19423da 100644 --- a/Source/cmUVHandlePtr.cxx +++ b/Source/cmUVHandlePtr.cxx @@ -59,7 +59,7 @@ uv_loop_t* uv_loop_ptr::get() const template <typename T> static void handle_default_delete(T* type_handle) { - auto handle = reinterpret_cast<uv_handle_t*>(type_handle); + auto* handle = reinterpret_cast<uv_handle_t*>(type_handle); if (handle) { assert(!uv_is_closing(handle)); if (!uv_is_closing(handle)) { @@ -154,7 +154,8 @@ struct uv_handle_deleter<uv_async_t> void uv_async_ptr::send() { - auto deleter = std::get_deleter<uv_handle_deleter<uv_async_t>>(this->handle); + auto* deleter = + std::get_deleter<uv_handle_deleter<uv_async_t>>(this->handle); assert(deleter); std::lock_guard<std::mutex> lock(*deleter->handleMutex); |