summaryrefslogtreecommitdiff
path: root/Source/cmUVHandlePtr.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmUVHandlePtr.h')
-rw-r--r--Source/cmUVHandlePtr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmUVHandlePtr.h b/Source/cmUVHandlePtr.h
index d9de7f3daf..356e2272ea 100644
--- a/Source/cmUVHandlePtr.h
+++ b/Source/cmUVHandlePtr.h
@@ -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