summaryrefslogtreecommitdiff
path: root/src/misc
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc')
-rw-r--r--src/misc/autoptr.hpp2
1 files changed, 1 insertions, 1 deletions
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;