Changeset 1048
- Timestamp:
- Feb 7, 2008, 2:04:26 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/utility/SmartPtr.h
r1044 r1048 64 64 virtual ~SmartPtr() 65 65 { 66 de attach();66 detach(); 67 67 } 68 68 … … 75 75 { 76 76 if (pointee_!=rhs.pointee_){ 77 de attach();77 detach(); 78 78 pointee_ = rhs.pointee_; 79 79 ref_count_= rhs.ref_count_; … … 104 104 u_int* ref_count_; 105 105 106 void de attach(void)106 void detach(void) 107 107 { 108 108 if (ref_count_)
Note: See TracChangeset
for help on using the changeset viewer.