diff options
| -rw-r--r-- | indra/newview/llvocache.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/llvocache.h | 4 | 
2 files changed, 5 insertions, 1 deletions
| diff --git a/indra/newview/llvocache.cpp b/indra/newview/llvocache.cpp index caa87eb1eb..1dd149631a 100644 --- a/indra/newview/llvocache.cpp +++ b/indra/newview/llvocache.cpp @@ -34,6 +34,8 @@  #include "llviewerregion.h"  #include "pipeline.h" +LLTrace::MemStatHandle	LLVOCachePartition::sMemStat("LLVOCachePartition"); +  BOOL check_read(LLAPRFile* apr_file, void* src, S32 n_bytes)   {  	return apr_file->read(src, n_bytes) == n_bytes ; diff --git a/indra/newview/llvocache.h b/indra/newview/llvocache.h index 5f2dd63051..4b775a4288 100644 --- a/indra/newview/llvocache.h +++ b/indra/newview/llvocache.h @@ -147,7 +147,7 @@ protected:  	BOOL                        mTouched; //if set, this entry is valid, otherwise it is invalid.  }; -class LLVOCachePartition : public LLViewerOctreePartition +class LLVOCachePartition : public LLViewerOctreePartition, public LLTrace::MemTrackable<LLVOCachePartition>  {  public:  	LLVOCachePartition(LLViewerRegion* regionp); @@ -155,6 +155,8 @@ public:  	void addEntry(LLViewerOctreeEntry* entry);  	void removeEntry(LLViewerOctreeEntry* entry);  	/*virtual*/ S32 cull(LLCamera &camera); + +	static	LLTrace::MemStatHandle	sMemStat;  };  // | 
