diff options
| author | James Cook <james@lindenlab.com> | 2009-11-28 16:51:02 -0800 |
|---|---|---|
| committer | James Cook <james@lindenlab.com> | 2009-11-28 16:51:02 -0800 |
| commit | f280c43d616d013747a9aab05141635868e00136 (patch) | |
| tree | 22a502368ea5c0526fab30caf7679cff42272cdb /indra/newview/llbottomtray.cpp | |
| parent | fd71800bb1c68c5d06199cf06de469ab7acdd2dc (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.cpp | 3 |
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), |
