@@ -371,7 +371,7 @@ class intrusive_ptr final {
371371 }
372372
373373 intrusive_ptr& operator =(intrusive_ptr&& rhs) & noexcept {
374- return operator =<TTarget, NullType>(std::move (rhs));
374+ return this -> template operator =<TTarget, NullType>(std::move (rhs));
375375 }
376376
377377 template <class From , class FromNullType >
@@ -385,7 +385,7 @@ class intrusive_ptr final {
385385 }
386386
387387 intrusive_ptr& operator =(const intrusive_ptr& rhs) & noexcept {
388- return operator =<TTarget, NullType>(rhs);
388+ return this -> template operator =<TTarget, NullType>(rhs);
389389 }
390390
391391 template <class From , class FromNullType >
@@ -756,7 +756,7 @@ class weak_intrusive_ptr final {
756756 }
757757
758758 weak_intrusive_ptr& operator =(weak_intrusive_ptr&& rhs) & noexcept {
759- return operator =<TTarget, NullType>(std::move (rhs));
759+ return this -> template operator =<TTarget, NullType>(std::move (rhs));
760760 }
761761
762762 template <class From , class FromNullType >
@@ -771,7 +771,7 @@ class weak_intrusive_ptr final {
771771 }
772772
773773 weak_intrusive_ptr& operator =(const weak_intrusive_ptr& rhs) & noexcept {
774- return operator =<TTarget, NullType>(rhs);
774+ return this -> template operator =<TTarget, NullType>(rhs);
775775 }
776776
777777 weak_intrusive_ptr& operator =(
0 commit comments