diff options
author | Brad King <brad.king@kitware.com> | 2023-10-30 20:02:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-11-21 18:53:23 (GMT) |
commit | bec0dd93a3174b1f636ce4548ea6ea837b62df32 (patch) | |
tree | 5edaa64f8d30f545476f4ef2b48b97c8c86918a2 /Source/cmUVHandlePtr.h | |
parent | 773fd7e05d55bf079723d3254004a7fe27059f79 (diff) | |
download | CMake-bec0dd93a3174b1f636ce4548ea6ea837b62df32.zip CMake-bec0dd93a3174b1f636ce4548ea6ea837b62df32.tar.gz CMake-bec0dd93a3174b1f636ce4548ea6ea837b62df32.tar.bz2 |
cmUVHandlePtr: Add explicit uv_loop_ptr::operator*
Previously the dereferencing operator was implicitly available
due to `operator uv_loop_t*() const`. Make it explicit.
Diffstat (limited to 'Source/cmUVHandlePtr.h')
-rw-r--r-- | Source/cmUVHandlePtr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmUVHandlePtr.h b/Source/cmUVHandlePtr.h index 7617415..174dc45 100644 --- a/Source/cmUVHandlePtr.h +++ b/Source/cmUVHandlePtr.h @@ -65,6 +65,7 @@ public: uv_loop_t* get() const; uv_loop_t* operator->() const noexcept; + uv_loop_t& operator*() const; }; /*** |