diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-03 21:56:15 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-03 21:56:15 +0300 |
commit | 6b943f52fbc81fe76726848f17518d6e3ab104e8 (patch) | |
tree | 1489177b3e29c2c0378493f1ec18261c25d08edf /include | |
parent | 40648808bb181f9b5c7c9d3b7537e6a9bd9b75bb (diff) |
Microsoft, you stupid bastards
Diffstat (limited to 'include')
-rw-r--r-- | include/m_chat_int.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/m_chat_int.h b/include/m_chat_int.h index bdef1e766f..ca39f96763 100644 --- a/include/m_chat_int.h +++ b/include/m_chat_int.h @@ -416,6 +416,7 @@ EXTERN_C MIR_APP_DLL(CHAT_MANAGER*) Chat_GetInterface(CHAT_MANAGER_INITDATA *pDa class MIR_APP_EXPORT CSrmmBaseDialog : public CDlgBase
{
+
protected:
CSrmmBaseDialog(HINSTANCE hInst, int idDialog);
@@ -427,6 +428,9 @@ protected: public:
MCONTACT m_hContact;
+
+ __inline void* operator new(size_t size){ return calloc(1, size); }
+ __inline void operator delete(void* p) { free(p); }
};
#endif // M_CHAT_INT_H__
|