summaryrefslogtreecommitdiff
path: root/include/m_system_cpp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_system_cpp.h')
-rw-r--r--include/m_system_cpp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/m_system_cpp.h b/include/m_system_cpp.h
index 40a91df399..a0679e496b 100644
--- a/include/m_system_cpp.h
+++ b/include/m_system_cpp.h
@@ -52,7 +52,7 @@ public:
__inline T* operator->() const { return data; }
__inline operator T*() const { return data; }
__inline operator INT_PTR() const { return (INT_PTR)data; }
- __inline T* detouch() { T *res = data; data = NULL; return res; }
+ __inline T* detach() { T *res = data; data = NULL; return res; }
};
typedef mir_ptr<char> ptrA;