diff options
author | James Cook <james@lindenlab.com> | 2009-11-25 22:00:15 -0800 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2009-11-25 22:00:15 -0800 |
commit | 928b7cba3ec0eb675a254ff840f398b70e5a8a8c (patch) | |
tree | 47b2f999fb2416c89febdb870363da5c1810a1f3 /indra/llui/llview.cpp | |
parent | 52a387e00f963d9920f36ffc0dcc855889f36cad (diff) |
Linker optimization, use extern template for LLView::getChild<>
Diffstat (limited to 'indra/llui/llview.cpp')
-rw-r--r-- | indra/llui/llview.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llui/llview.cpp b/indra/llui/llview.cpp index dba24ee165..4fc52997a1 100644 --- a/indra/llui/llview.cpp +++ b/indra/llui/llview.cpp @@ -76,6 +76,9 @@ std::vector<LLViewDrawContext*> LLViewDrawContext::sDrawContextStack; BOOL LLView::sIsDrawing = FALSE; #endif +// Compiler optimization, generate extern template +template class LLView* LLView::getChild<class LLView>(const std::string& name, BOOL recurse) const; + static LLDefaultChildRegistry::Register<LLView> r("view"); LLView::Params::Params() |