summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobject.h
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-01-04 13:48:35 -0800
committerRichard Linden <none@none>2013-01-04 13:48:35 -0800
commitcbff0e7ab8afeebb6ddab854d35ea12ef9a9930a (patch)
treef99dcc890474f58a967a626ec07b477b1ab37e3d /indra/newview/llviewerobject.h
parentb2197101c488de66ca9ecf71c229f5b80d1390fd (diff)
SH-3468 WIP add memory tracking base class
attempted fix for gcc compile errors can't use typeid() on a class that doesn't have a method defined in a translation unit fix is to force classes deriving from LLMemTrackable to use their own static member named sMemStat
Diffstat (limited to 'indra/newview/llviewerobject.h')
-rw-r--r--indra/newview/llviewerobject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llviewerobject.h b/indra/newview/llviewerobject.h
index 14ea8ded38..153f44601c 100644
--- a/indra/newview/llviewerobject.h
+++ b/indra/newview/llviewerobject.h
@@ -670,8 +670,6 @@ protected:
void deleteParticleSource();
void setParticleSource(const LLPartSysData& particle_parameters, const LLUUID& owner_id);
-public:
-
private:
void setNameValueList(const std::string& list); // clears nv pairs and then individually adds \n separated NV pairs from \0 terminated string
void deleteTEImages(); // correctly deletes list of images
@@ -750,6 +748,8 @@ protected:
static S32 sAxisArrowLength;
+ static LLTrace::MemStat sMemStat;
+
// These two caches are only correct for non-parented objects right now!
mutable LLVector3 mPositionRegion;
mutable LLVector3 mPositionAgent;