Reorder field initialization to shut up gcc warnings.

This commit is contained in:
riccardom 2009-10-31 17:09:45 +00:00
parent 7d8a9d5a64
commit 7ef3df046b
1 changed files with 4 additions and 4 deletions

View File

@ -14,14 +14,14 @@ class TexCacheItem
{ {
public: public:
TexCacheItem() TexCacheItem()
: decoded(NULL) : decode_len(0)
, decode_len(0) , decoded(NULL)
, next(NULL) , next(NULL)
, prev(NULL) , prev(NULL)
, lockCount(0) , lockCount(0)
, cacheFormat(TexFormat_None)
, deleteCallback(NULL)
, suspectedInvalid(false) , suspectedInvalid(false)
, deleteCallback(NULL)
, cacheFormat(TexFormat_None)
{} {}
~TexCacheItem() { ~TexCacheItem() {
delete[] decoded; delete[] decoded;