summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmUVHandlePtr.cxx5
-rw-r--r--Source/cmUVHandlePtr.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmUVHandlePtr.cxx b/Source/cmUVHandlePtr.cxx
index ca295e3..7d41644 100644
--- a/Source/cmUVHandlePtr.cxx
+++ b/Source/cmUVHandlePtr.cxx
@@ -54,6 +54,11 @@ uv_loop_t* uv_loop_ptr::operator->() const noexcept
return this->loop.get();
}
+uv_loop_t& uv_loop_ptr::operator*() const
+{
+ return *this->loop;
+}
+
uv_loop_t* uv_loop_ptr::get() const
{
return this->loop.get();
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;
};
/***