mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-13 01:35:05 +03:00
chore(component): name bitpacked member variable
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -18,7 +18,7 @@ CACHEENTRY::CACHEENTRY() {
|
||||
this->m_fileName[0] = '\0';
|
||||
this->m_refCount = 0;
|
||||
this->m_memHandle = 0;
|
||||
this->bitsB0 = 0;
|
||||
this->m_size = 0;
|
||||
this->m_loaded = 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ class CACHEENTRY : public TSHashObject<CACHEENTRY, HASHKEY_NONE> {
|
||||
char m_fileName[128];
|
||||
uint32_t m_refCount;
|
||||
uint32_t m_memHandle;
|
||||
uint32_t bitsB0 : 20;
|
||||
uint32_t m_size : 20;
|
||||
uint32_t m_loaded : 1;
|
||||
|
||||
// Member functions
|
||||
|
||||
Reference in new issue
Block a user