diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/intrusive_ptr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/intrusive_ptr.h b/common/intrusive_ptr.h index 85f019fd..831b8302 100644 --- a/common/intrusive_ptr.h +++ b/common/intrusive_ptr.h @@ -70,6 +70,7 @@ public: operator bool() const noexcept { return mPtr != nullptr; } + T& operator*() const noexcept { return *mPtr; } T* operator->() const noexcept { return mPtr; } T* get() const noexcept { return mPtr; } |