diff options
author | Richard Linden <none@none> | 2013-07-24 22:41:02 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2013-07-24 22:41:02 -0700 |
commit | 3430444212a14a7f40d8b1afdbefc68c3319562d (patch) | |
tree | 4453cb2d9cd277e5ea1a14bf617bab9f445b16b0 /indra/llcommon/lltimer.cpp | |
parent | 1e8f9fd80d0ac4e0eab656ed8e8e32f91ab8b533 (diff) |
BUIDLFIX: forgot to extract value from units object for calling llformat
Diffstat (limited to 'indra/llcommon/lltimer.cpp')
-rwxr-xr-x | indra/llcommon/lltimer.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/llcommon/lltimer.cpp b/indra/llcommon/lltimer.cpp index 693809b622..25383fc4d8 100755 --- a/indra/llcommon/lltimer.cpp +++ b/indra/llcommon/lltimer.cpp @@ -281,7 +281,18 @@ LLTimer::LLTimer() } LLTimer::~LLTimer() +{} + +// static +void LLTimer::initClass() +{ + if (!sTimer) sTimer = new LLTimer; +} + +// static +void LLTimer::cleanupClass() { + delete sTimer; sTimer = NULL; } // static |