summaryrefslogtreecommitdiff
path: root/indra/newview/llvocache.h
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2017-10-11 14:16:39 +0100
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2017-10-11 14:16:39 +0100
commit299592e88e90d0942ba29e1edfa8b72691489e00 (patch)
tree7f14e8fce6e7824982233978833b8fe00384912c /indra/newview/llvocache.h
parentaae13d1966b74adf59e1510bade8652f33e6867e (diff)
parentb6d22de58850fc9a5b34eeb5b7930e5845bfc42d (diff)
merge
Diffstat (limited to 'indra/newview/llvocache.h')
-rw-r--r--indra/newview/llvocache.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llvocache.h b/indra/newview/llvocache.h
index 7aabde1b2d..7d450c5231 100644
--- a/indra/newview/llvocache.h
+++ b/indra/newview/llvocache.h
@@ -237,9 +237,10 @@ private:
struct HeaderMetaInfo
{
- HeaderMetaInfo() : mVersion(0){}
+ HeaderMetaInfo() : mVersion(0), mAddressSize(0) {}
U32 mVersion;
+ U32 mAddressSize;
};
struct header_entry_less
@@ -267,6 +268,9 @@ public:
void setReadOnly(bool read_only) {mReadOnly = read_only;}
+ U32 getCacheEntries() { return mNumEntries; }
+ U32 getCacheEntriesMax() { return mCacheSize; }
+
private:
void setDirNames(ELLPath location);
// determine the cache filename for the region from the region handle