summaryrefslogtreecommitdiff
path: root/include/m_system_cpp.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-12-14 16:56:48 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-12-14 16:56:48 +0000
commit1afba55381a1697d80daea5e9a12aeb567a92402 (patch)
treefcdae1248b1ca05b634f37928b686498736b1702 /include/m_system_cpp.h
parenta20e356240c3336cbc1f441760a0bca0769dd604 (diff)
- another atavism (DBVTF_DENYUNICODE) removed;
- default text formatter for EVENTTYPE_AUTHREQUEST added git-svn-id: http://svn.miranda-ng.org/main/trunk@7208 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_system_cpp.h')
-rw-r--r--include/m_system_cpp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/m_system_cpp.h b/include/m_system_cpp.h
index d30c857713..2775f5220f 100644
--- a/include/m_system_cpp.h
+++ b/include/m_system_cpp.h
@@ -51,6 +51,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; }
};
typedef mir_ptr<char> ptrA;