diff options
author | Richard Linden <none@none> | 2013-01-04 13:48:35 -0800 |
---|---|---|
committer | Richard Linden <none@none> | 2013-01-04 13:48:35 -0800 |
commit | cbff0e7ab8afeebb6ddab854d35ea12ef9a9930a (patch) | |
tree | f99dcc890474f58a967a626ec07b477b1ab37e3d /indra/newview/lldrawable.cpp | |
parent | b2197101c488de66ca9ecf71c229f5b80d1390fd (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/lldrawable.cpp')
-rw-r--r-- | indra/newview/lldrawable.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/lldrawable.cpp b/indra/newview/lldrawable.cpp index 09bbafd54a..6ef437cefb 100644 --- a/indra/newview/lldrawable.cpp +++ b/indra/newview/lldrawable.cpp @@ -58,6 +58,7 @@ const F32 MIN_SHADOW_CASTER_RADIUS = 2.0f; static LLFastTimer::DeclareTimer FTM_CULL_REBOUND("Cull Rebound"); extern bool gShiftFrame; +LLTrace::MemStat LLDrawable::sMemStat("LLDrawable"); //////////////////////// |