summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-06-06 21:26:57 -0700
committerRichard Linden <none@none>2013-06-06 21:26:57 -0700
commitebf35d51b14f224c36a19a453a20885e667f6bec (patch)
tree01c1ce8ffdcaa1d451e0b7d9084d43d8434bbfed /indra/llcommon
parent613b949e2f55a4c7e7d91d2f49ea23ac7a71b771 (diff)
SH-4232 FIX: Interesting: Viewer Crash on Login
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/lltrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/lltrace.h b/indra/llcommon/lltrace.h
index c20e836f77..cfe1273b4b 100644
--- a/indra/llcommon/lltrace.h
+++ b/indra/llcommon/lltrace.h
@@ -169,7 +169,7 @@ public:
LL_FORCE_INLINE static ACCUMULATOR* getPrimaryStorage()
{
ACCUMULATOR* accumulator = LLThreadLocalSingletonPointer<ACCUMULATOR>::getInstance();
- return accumulator ? accumulator : sDefaultBuffer->mStorage;
+ return accumulator ? accumulator : getDefaultBuffer()->mStorage;
}
// NOTE: this is not thread-safe. We assume that slots are reserved in the main thread before any child threads are spawned