summaryrefslogtreecommitdiff
path: root/indra/newview/llbottomtray.cpp
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-11-28 16:51:02 -0800
committerJames Cook <james@lindenlab.com>2009-11-28 16:51:02 -0800
commitf280c43d616d013747a9aab05141635868e00136 (patch)
tree22a502368ea5c0526fab30caf7679cff42272cdb /indra/newview/llbottomtray.cpp
parentfd71800bb1c68c5d06199cf06de469ab7acdd2dc (diff)
Use extern template for common singletons to reduce code bloat/link time.
Diffstat (limited to 'indra/newview/llbottomtray.cpp')
-rw-r--r--indra/newview/llbottomtray.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llbottomtray.cpp b/indra/newview/llbottomtray.cpp
index 9cc7b8c785..4823932951 100644
--- a/indra/newview/llbottomtray.cpp
+++ b/indra/newview/llbottomtray.cpp
@@ -46,6 +46,9 @@
#include "llsyswellwindow.h"
#include "llfloatercamera.h"
+// Build time optimization, generate this once in .cpp file
+template class LLBottomTray* LLSingleton<class LLBottomTray>::getInstance();
+
LLBottomTray::LLBottomTray(const LLSD&)
: mChicletPanel(NULL),
mSysWell(NULL),