diff options
Diffstat (limited to 'compat/borrowed-ptr.hpp')
-rw-r--r-- | compat/borrowed-ptr.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compat/borrowed-ptr.hpp b/compat/borrowed-ptr.hpp index 4da792d1..92c1f761 100644 --- a/compat/borrowed-ptr.hpp +++ b/compat/borrowed-ptr.hpp @@ -71,6 +71,7 @@ public: template<detail_bptr::DerivedFrom<T> Y> bptr& operator=(bptr<Y>&&) noexcept; void reset() noexcept; + template<detail_bptr::DerivedFrom<T> Y> void reset(Y* ptr) noexcept; void destroy() noexcept; void swap(bptr& other) noexcept; uint32_t use_count() const noexcept; |