summaryrefslogtreecommitdiff
path: root/include/m_system_cpp.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-29 16:24:08 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-29 16:24:08 +0000
commite4709ec279fe4e531d33154c3b833a715cf56fbc (patch)
tree4f4183bc7486783e0fd6f6c10f5ce370c01468a8 /include/m_system_cpp.h
parentc70673812db722c68caef569e2c299f5462b9c13 (diff)
removing TCHAR + WCHAR from headers
git-svn-id: http://svn.miranda-ng.org/main/trunk@17146 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_system_cpp.h')
-rw-r--r--include/m_system_cpp.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/m_system_cpp.h b/include/m_system_cpp.h
index e595583b9d..9a33d2a712 100644
--- a/include/m_system_cpp.h
+++ b/include/m_system_cpp.h
@@ -96,16 +96,16 @@ public:
}
};
-class pass_ptrW : public mir_ptr<WCHAR>
+class pass_ptrW : public mir_ptr<wchar_t>
{
public:
__inline explicit pass_ptrW() : mir_ptr(){}
- __inline explicit pass_ptrW(WCHAR* _p) : mir_ptr(_p) {}
+ __inline explicit pass_ptrW(wchar_t* _p) : mir_ptr(_p) {}
__inline ~pass_ptrW() { zero(); }
- __inline WCHAR* operator = (WCHAR *_p){ zero(); return mir_ptr::operator=(_p); }
+ __inline wchar_t* operator = (wchar_t *_p){ zero(); return mir_ptr::operator=(_p); }
__inline void zero()
{
- if (data) SecureZeroMemory(data, mir_wstrlen(data)*sizeof(WCHAR));
+ if (data) SecureZeroMemory(data, mir_wstrlen(data)*sizeof(wchar_t));
}
};