changeset 7298 | 752e4c991b91 |
parent 7296 | 84069e62f29d |
child 7299 | 78e41586905f |
7297:4c33fc2d0ed2 | 7298:752e4c991b91 |
---|---|
43 delete p; |
43 delete p; |
44 } |
44 } |
45 } |
45 } |
46 |
46 |
47 /** give-up ownership and NULLify the raw pointer */ |
47 /** give-up ownership and NULLify the raw pointer */ |
48 FORCEINLINE T* Release() |
48 FORCEINLINE T* Detach() |
49 { |
49 { |
50 T* p = m_p; |
50 T* p = m_p; |
51 m_p = NULL; |
51 m_p = NULL; |
52 return p; |
52 return p; |
53 } |
53 } |