diff options
Diffstat (limited to 'compat/borrowed-ptr.hpp')
-rw-r--r-- | compat/borrowed-ptr.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compat/borrowed-ptr.hpp b/compat/borrowed-ptr.hpp index 6862af2e..6b1dcdf4 100644 --- a/compat/borrowed-ptr.hpp +++ b/compat/borrowed-ptr.hpp @@ -39,12 +39,11 @@ class bptr final // NOLINT(*-special-member-functions) requires std::is_convertible_v<T*, const bptr_base*> bptr(const bptr<Y>& other, std::nullptr_t) noexcept; - template<typename Y> bptr& _copy_assign(const bptr<Y>& other) noexcept; - template<typename Y> requires std::is_convertible_v<T*, const bptr_base*> bptr(bptr<Y>&& other, std::nullptr_t) noexcept; + template<typename Y> bptr& _copy_assign(const bptr<Y>& other) noexcept; template<typename Y> bptr& _move_assign(bptr<Y>&& other) noexcept; public: |