diff options
author | brad kittenbrink <brad@lindenlab.com> | 2009-08-06 15:53:09 -0700 |
---|---|---|
committer | brad kittenbrink <brad@lindenlab.com> | 2009-08-06 15:53:09 -0700 |
commit | c9ee582c12bbdcfe7f37459f947872e3ef462560 (patch) | |
tree | 9fec03a849daad076d67efcf83c32d84c9532c33 /indra/llcommon/llsingleton.cpp | |
parent | 843036a7d27dbffa4aafeae70b3e46f9afe84c1b (diff) |
Add on-demand allocation of LLSingletonRegistry::sSingletonMap so we don't rely on static initialization order.
reviewed by nat.
Diffstat (limited to 'indra/llcommon/llsingleton.cpp')
-rw-r--r-- | indra/llcommon/llsingleton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llsingleton.cpp b/indra/llcommon/llsingleton.cpp index 62988cdc64..6b5feaf1c4 100644 --- a/indra/llcommon/llsingleton.cpp +++ b/indra/llcommon/llsingleton.cpp @@ -34,5 +34,5 @@ #include "llsingleton.h" -std::map<std::string, void *> LLSingletonRegistry::sSingletonMap; +std::map<std::string, void *> * LLSingletonRegistry::sSingletonMap = NULL; |