diff options
Diffstat (limited to 'plugins/AVS/src/stdafx.h')
-rw-r--r-- | plugins/AVS/src/stdafx.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/plugins/AVS/src/stdafx.h b/plugins/AVS/src/stdafx.h index 88fd634691..be43639df5 100644 --- a/plugins/AVS/src/stdafx.h +++ b/plugins/AVS/src/stdafx.h @@ -95,15 +95,18 @@ struct CacheNode : public AVATARCACHEENTRY, public MZeroedObject struct protoPicCacheEntry : public AVATARCACHEENTRY, public MZeroedObject
{
- protoPicCacheEntry(int _type) : cacheType(_type) {}
+ protoPicCacheEntry(int _type, const char *_szName) :
+ cacheType(_type),
+ szProtoname(mir_strdup(_szName))
+ {}
~protoPicCacheEntry();
void clear();
- char *szProtoname = nullptr;
- int cacheType = 0;
+ ptrA szProtoname;
+ int cacheType;
union {
- PROTOCOLDESCRIPTOR *pd;
+ PROTOCOLDESCRIPTOR *pd = 0;
PROTOACCOUNT *pa;
};
};
|