Skip to content
Snippets Groups Projects
Commit d9661c3d authored by Tofu Linden's avatar Tofu Linden
Browse files

CID-358

Checker: UNINIT_CTOR
Function: LLTextureCache::Entry::Entry()
File: /indra/newview/lltexturecache.h
parent ce436d20
No related branches found
No related tags found
No related merge requests found
...@@ -59,7 +59,12 @@ class LLTextureCache : public LLWorkerThread ...@@ -59,7 +59,12 @@ class LLTextureCache : public LLWorkerThread
}; };
struct Entry struct Entry
{ {
Entry() {} Entry() :
mBodySize(0),
mImageSize(0),
mTime(0)
{
}
Entry(const LLUUID& id, S32 imagesize, S32 bodysize, U32 time) : Entry(const LLUUID& id, S32 imagesize, S32 bodysize, U32 time) :
mID(id), mImageSize(imagesize), mBodySize(bodysize), mTime(time) {} mID(id), mImageSize(imagesize), mBodySize(bodysize), mTime(time) {}
void init(const LLUUID& id, U32 time) { mID = id, mImageSize = 0; mBodySize = 0; mTime = time; } void init(const LLUUID& id, U32 time) { mID = id, mImageSize = 0; mBodySize = 0; mTime = time; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment