diff --git a/ctl/shared_ptr.h b/ctl/shared_ptr.h index 5db5ec01c..8aac68070 100644 --- a/ctl/shared_ptr.h +++ b/ctl/shared_ptr.h @@ -444,7 +444,7 @@ class weak_ptr return *this; } - template + template requires __::shared_ptr_compatible weak_ptr& operator=(weak_ptr r) noexcept {