Ticket #2312: intrusive_ptr_assignment.patch
File intrusive_ptr_assignment.patch, 416 bytes (added by , 14 years ago) |
---|
-
intrusive_ptr.hpp
111 111 112 112 #endif 113 113 114 intrusive_ptr & operator=(intrusive_ptr const &rhs)114 intrusive_ptr & operator=(intrusive_ptr rhs) 115 115 { 116 this_type(rhs).swap(*this);116 rhs.swap(*this); 117 117 return *this; 118 118 } 119 119