(svn r10646) -Cleanup: AutoPtrT<>::Release() renamed to Detach()
-better describes what it does -was inconsistent with CCountedPtr<>::Release()
This commit is contained in:
@@ -45,7 +45,7 @@ public:
|
||||
}
|
||||
|
||||
/** give-up ownership and NULLify the raw pointer */
|
||||
FORCEINLINE T* Release()
|
||||
FORCEINLINE T* Detach()
|
||||
{
|
||||
T* p = m_p;
|
||||
m_p = NULL;
|
||||
|
Reference in New Issue
Block a user