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/lllineeditor.cpp | |
parent | 52a387e00f963d9920f36ffc0dcc855889f36cad (diff) |
Linker optimization, use extern template for LLView::getChild<>
Diffstat (limited to 'indra/llui/lllineeditor.cpp')
-rw-r--r-- | indra/llui/lllineeditor.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llui/lllineeditor.cpp b/indra/llui/lllineeditor.cpp index 4ea30dbd4d..cade6e45e1 100644 --- a/indra/llui/lllineeditor.cpp +++ b/indra/llui/lllineeditor.cpp @@ -71,6 +71,10 @@ const F32 TRIPLE_CLICK_INTERVAL = 0.3f; // delay between double and triple click static LLDefaultChildRegistry::Register<LLLineEditor> r1("line_editor"); +// Compiler optimization, generate extern template +template class LLLineEditor* LLView::getChild<class LLLineEditor>( + const std::string& name, BOOL recurse) const; + // // Member functions // |