(svn r10646) -Cleanup: AutoPtrT<>::Release() renamed to Detach()

-better describes what it does
 -was inconsistent with CCountedPtr<>::Release()
This commit is contained in:
KUDr
2007-07-21 13:45:15 +00:00
parent 1f693e8ce8
commit fc58c73bc5
2 changed files with 7 additions and 7 deletions

View File

@@ -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;