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.h | |
parent | fd71800bb1c68c5d06199cf06de469ab7acdd2dc (diff) |
Use extern template for common singletons to reduce code bloat/link time.
Diffstat (limited to 'indra/newview/llbottomtray.h')
-rw-r--r-- | indra/newview/llbottomtray.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llbottomtray.h b/indra/newview/llbottomtray.h index 7640cdcf9d..3db5184f6b 100644 --- a/indra/newview/llbottomtray.h +++ b/indra/newview/llbottomtray.h @@ -47,6 +47,9 @@ class LLSpeakButton; class LLNearbyChatBar; class LLIMChiclet; +// Build time optimization, generate this once in .cpp file +extern template class LLBottomTray* LLSingleton<class LLBottomTray>::getInstance(); + class LLBottomTray : public LLSingleton<LLBottomTray> , public LLPanel |