summaryrefslogtreecommitdiff
path: root/indra/newview/llselectmgr.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/llselectmgr.cpp
parentfd71800bb1c68c5d06199cf06de469ab7acdd2dc (diff)
Use extern template for common singletons to reduce code bloat/link time.
Diffstat (limited to 'indra/newview/llselectmgr.cpp')
-rw-r--r--indra/newview/llselectmgr.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llselectmgr.cpp b/indra/newview/llselectmgr.cpp
index 2554f1ccd5..4394271ec4 100644
--- a/indra/newview/llselectmgr.cpp
+++ b/indra/newview/llselectmgr.cpp
@@ -175,6 +175,8 @@ LLObjectSelection *get_null_object_selection()
return sNullSelection;
}
+// Build time optimization, generate this function once here
+template class LLSelectMgr* LLSingleton<class LLSelectMgr>::getInstance();
//-----------------------------------------------------------------------------
// LLSelectMgr()