diff options
Diffstat (limited to 'plugins/FlashAvatars/src')
-rw-r--r-- | plugins/FlashAvatars/src/cflash.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/FlashAvatars/src/cflash.cpp b/plugins/FlashAvatars/src/cflash.cpp index 2d101cbbe6..9a2a1511ac 100644 --- a/plugins/FlashAvatars/src/cflash.cpp +++ b/plugins/FlashAvatars/src/cflash.cpp @@ -60,16 +60,14 @@ int __fastcall strcmpnull(const char *str1, const char *str2) { }
-struct flash_avatar_item {
+struct flash_avatar_item : public MZeroedObject
+{
HANDLE hContact;
FLASHAVATAR hFA;
IShockwaveFlash* pFlash;
char* getProto() { return (hFA.cProto) ? hFA.cProto : (char*)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)hFA.hContact, 0); }
- __inline void* operator new(size_t size) { return mir_calloc(size); }
- __inline void operator delete( void* p ) { mir_free(p); }
-
flash_avatar_item(HANDLE contact, FLASHAVATAR& fa, IShockwaveFlash *flash) { hContact = contact; hFA = fa; pFlash = flash; }
};
|