summaryrefslogtreecommitdiff
path: root/indra/newview/llvocache.h
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2010-12-15 17:20:58 -0700
committerXiaohong Bao <bao@lindenlab.com>2010-12-15 17:20:58 -0700
commit57065fe5a9521158b79b7a313d6476b8dcaa13a5 (patch)
treea466621b88948fa764774d61e1231ce327998961 /indra/newview/llvocache.h
parentda244c7cce6b3d84b011a87cbcabffb51abb3fc8 (diff)
fix for SH-367: mesh viewer lock up: Problem removing object.cache - errorcode: 13
Diffstat (limited to 'indra/newview/llvocache.h')
-rw-r--r--indra/newview/llvocache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llvocache.h b/indra/newview/llvocache.h
index ed2bc8bafe..6453886bc5 100644
--- a/indra/newview/llvocache.h
+++ b/indra/newview/llvocache.h
@@ -111,6 +111,7 @@ public:
void readFromCache(U64 handle, const LLUUID& id, LLVOCacheEntry::vocache_entry_map_t& cache_entry_map) ;
void writeToCache(U64 handle, const LLUUID& id, const LLVOCacheEntry::vocache_entry_map_t& cache_entry_map, BOOL dirty_cache) ;
+ void removeEntry(U64 handle) ;
void setReadOnly(BOOL read_only) {mReadOnly = read_only;}
@@ -123,10 +124,9 @@ private:
void writeCacheHeader();
void clearCacheInMemory();
void removeCache() ;
+ void removeEntry(HeaderEntryInfo* entry) ;
void purgeEntries();
BOOL updateEntry(const HeaderEntryInfo* entry);
- BOOL checkRead(LLAPRFile* apr_file, void* src, S32 n_bytes) ;
- BOOL checkWrite(LLAPRFile* apr_file, void* src, S32 n_bytes) ;
private:
BOOL mEnabled;