diff options
Diffstat (limited to 'Source/cmUVHandlePtr.h')
-rw-r--r-- | Source/cmUVHandlePtr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmUVHandlePtr.h b/Source/cmUVHandlePtr.h index d9de7f3da..8c5ad5983 100644 --- a/Source/cmUVHandlePtr.h +++ b/Source/cmUVHandlePtr.h @@ -78,7 +78,7 @@ template <typename T> class uv_handle_ptr_base_ { protected: - template <typename _T> + template <typename U> friend class uv_handle_ptr_base_; /** @@ -128,7 +128,7 @@ public: // dtors to work. Some compilers do not like '= default' here. uv_handle_ptr_base_() {} // NOLINT(modernize-use-equals-default) uv_handle_ptr_base_(std::nullptr_t) {} - ~uv_handle_ptr_base_() { reset(); } + ~uv_handle_ptr_base_() { this->reset(); } /** * Properly close the handle if needed and sets the inner handle to nullptr @@ -160,7 +160,7 @@ inline uv_handle_ptr_base_<T>& uv_handle_ptr_base_<T>::operator=( template <typename T> class uv_handle_ptr_ : public uv_handle_ptr_base_<T> { - template <typename _T> + template <typename U> friend class uv_handle_ptr_; public: |