From 43ddd64817cde65142b9eaba230f1414f8c3fa66 Mon Sep 17 00:00:00 2001 From: KUDr Date: Sat, 21 Jul 2007 13:45:15 +0000 Subject: (svn r10646) -Cleanup: AutoPtrT<>::Release() renamed to Detach() -better describes what it does -was inconsistent with CCountedPtr<>::Release() --- src/misc/autoptr.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/misc') diff --git a/src/misc/autoptr.hpp b/src/misc/autoptr.hpp index 3719a51f1..edb7c10c6 100644 --- a/src/misc/autoptr.hpp +++ b/src/misc/autoptr.hpp @@ -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; -- cgit v1.2.3-70-g09d2