summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-11-29 10:19:17 -0800
committerJames Cook <james@lindenlab.com>2009-11-29 10:19:17 -0800
commitb50ba67bd8ab329d598ce47e5d3ac09b59fffb63 (patch)
tree037646faeb05124426a09935b05bdbdef7e6dc1a /indra/llui
parent491cbc5de6eaa960ca582ac0fcc064c3c8bac08c (diff)
Revert extern template link optimization until I can build/test on PC
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llbutton.cpp4
-rw-r--r--indra/llui/llcheckboxctrl.cpp4
-rw-r--r--indra/llui/lllineeditor.cpp4
-rw-r--r--indra/llui/llpanel.cpp4
-rw-r--r--indra/llui/lltextbox.cpp4
-rw-r--r--indra/llui/lltexteditor.cpp4
-rw-r--r--indra/llui/lluictrl.cpp4
-rw-r--r--indra/llui/lluictrlfactory.h2
-rw-r--r--indra/llui/llview.cpp2
-rw-r--r--indra/llui/llview.h32
10 files changed, 32 insertions, 32 deletions
diff --git a/indra/llui/llbutton.cpp b/indra/llui/llbutton.cpp
index ae25aec206..617a97b6cf 100644
--- a/indra/llui/llbutton.cpp
+++ b/indra/llui/llbutton.cpp
@@ -57,8 +57,8 @@
static LLDefaultChildRegistry::Register<LLButton> r("button");
// Compiler optimization, generate extern template
-template class LLButton* LLView::getChild<class LLButton>(
- const std::string& name, BOOL recurse) const;
+//template class LLButton* LLView::getChild<class LLButton>(
+// const std::string& name, BOOL recurse) const;
// globals loaded from settings.xml
S32 LLBUTTON_H_PAD = 0;
diff --git a/indra/llui/llcheckboxctrl.cpp b/indra/llui/llcheckboxctrl.cpp
index 33630dbb5e..3c5925f965 100644
--- a/indra/llui/llcheckboxctrl.cpp
+++ b/indra/llui/llcheckboxctrl.cpp
@@ -51,8 +51,8 @@ const U32 MAX_STRING_LENGTH = 10;
static LLDefaultChildRegistry::Register<LLCheckBoxCtrl> r("check_box");
// Compiler optimization, generate extern template
-template class LLCheckBoxCtrl* LLView::getChild<class LLCheckBoxCtrl>(
- const std::string& name, BOOL recurse) const;
+//template class LLCheckBoxCtrl* LLView::getChild<class LLCheckBoxCtrl>(
+// const std::string& name, BOOL recurse) const;
LLCheckBoxCtrl::Params::Params()
: text_enabled_color("text_enabled_color"),
diff --git a/indra/llui/lllineeditor.cpp b/indra/llui/lllineeditor.cpp
index cade6e45e1..1551aab192 100644
--- a/indra/llui/lllineeditor.cpp
+++ b/indra/llui/lllineeditor.cpp
@@ -72,8 +72,8 @@ 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;
+//template class LLLineEditor* LLView::getChild<class LLLineEditor>(
+// const std::string& name, BOOL recurse) const;
//
// Member functions
diff --git a/indra/llui/llpanel.cpp b/indra/llui/llpanel.cpp
index 3a6c55ba0e..dc5db03a44 100644
--- a/indra/llui/llpanel.cpp
+++ b/indra/llui/llpanel.cpp
@@ -59,8 +59,8 @@
static LLDefaultChildRegistry::Register<LLPanel> r1("panel", &LLPanel::fromXML);
// Compiler optimization, generate extern template
-template class LLPanel* LLView::getChild<class LLPanel>(
- const std::string& name, BOOL recurse) const;
+//template class LLPanel* LLView::getChild<class LLPanel>(
+// const std::string& name, BOOL recurse) const;
LLPanel::LocalizedString::LocalizedString()
: name("name"),
diff --git a/indra/llui/lltextbox.cpp b/indra/llui/lltextbox.cpp
index c0edccd0f3..4bd9a32b1d 100644
--- a/indra/llui/lltextbox.cpp
+++ b/indra/llui/lltextbox.cpp
@@ -41,8 +41,8 @@
static LLDefaultChildRegistry::Register<LLTextBox> r("text");
// Compiler optimization, generate extern template
-template class LLTextBox* LLView::getChild<class LLTextBox>(
- const std::string& name, BOOL recurse) const;
+//template class LLTextBox* LLView::getChild<class LLTextBox>(
+// const std::string& name, BOOL recurse) const;
LLTextBox::LLTextBox(const LLTextBox::Params& p)
: LLTextBase(p),
diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp
index 628d566179..6e07a890ad 100644
--- a/indra/llui/lltexteditor.cpp
+++ b/indra/llui/lltexteditor.cpp
@@ -74,8 +74,8 @@
static LLDefaultChildRegistry::Register<LLTextEditor> r("simple_text_editor");
// Compiler optimization, generate extern template
-template class LLTextEditor* LLView::getChild<class LLTextEditor>(
- const std::string& name, BOOL recurse) const;
+//template class LLTextEditor* LLView::getChild<class LLTextEditor>(
+// const std::string& name, BOOL recurse) const;
//
// Constants
diff --git a/indra/llui/lluictrl.cpp b/indra/llui/lluictrl.cpp
index 466f45942d..3cf592f351 100644
--- a/indra/llui/lluictrl.cpp
+++ b/indra/llui/lluictrl.cpp
@@ -41,8 +41,8 @@
static LLDefaultChildRegistry::Register<LLUICtrl> r("ui_ctrl");
// Compiler optimization, generate extern template
-template class LLUICtrl* LLView::getChild<class LLUICtrl>(
- const std::string& name, BOOL recurse) const;
+//template class LLUICtrl* LLView::getChild<class LLUICtrl>(
+// const std::string& name, BOOL recurse) const;
LLUICtrl::Params::Params()
: tab_stop("tab_stop", true),
diff --git a/indra/llui/lluictrlfactory.h b/indra/llui/lluictrlfactory.h
index adb3f7202f..e021c04ad6 100644
--- a/indra/llui/lluictrlfactory.h
+++ b/indra/llui/lluictrlfactory.h
@@ -109,7 +109,7 @@ extern LLFastTimer::DeclareTimer FTM_WIDGET_CONSTRUCTION;
extern LLFastTimer::DeclareTimer FTM_INIT_FROM_PARAMS;
// Build time optimization, generate this once in .cpp file
-extern template class LLUICtrlFactory* LLSingleton<class LLUICtrlFactory>::getInstance();
+//extern template class LLUICtrlFactory* LLSingleton<class LLUICtrlFactory>::getInstance();
class LLUICtrlFactory : public LLSingleton<LLUICtrlFactory>
{
diff --git a/indra/llui/llview.cpp b/indra/llui/llview.cpp
index 4fc52997a1..ef23268a14 100644
--- a/indra/llui/llview.cpp
+++ b/indra/llui/llview.cpp
@@ -77,7 +77,7 @@ BOOL LLView::sIsDrawing = FALSE;
#endif
// Compiler optimization, generate extern template
-template class LLView* LLView::getChild<class LLView>(const std::string& name, BOOL recurse) const;
+//template class LLView* LLView::getChild<class LLView>(const std::string& name, BOOL recurse) const;
static LLDefaultChildRegistry::Register<LLView> r("view");
diff --git a/indra/llui/llview.h b/indra/llui/llview.h
index 5bf015362d..1b12e78509 100644
--- a/indra/llui/llview.h
+++ b/indra/llui/llview.h
@@ -661,21 +661,21 @@ template <class T> T* LLView::getChild(const std::string& name, BOOL recurse) co
// Compiler optimization - don't generate these specializations inline,
// require explicit specialization. See llbutton.cpp for an example.
-extern template class LLButton* LLView::getChild<class LLButton>(
- const std::string& name, BOOL recurse) const;
-extern template class LLCheckBoxCtrl* LLView::getChild<class LLCheckBoxCtrl>(
- const std::string& name, BOOL recurse) const;
-extern template class LLLineEditor* LLView::getChild<class LLLineEditor>(
- const std::string& name, BOOL recurse) const;
-extern template class LLPanel* LLView::getChild<class LLPanel>(
- const std::string& name, BOOL recurse) const;
-extern template class LLTextBox* LLView::getChild<class LLTextBox>(
- const std::string& name, BOOL recurse) const;
-extern template class LLTextEditor* LLView::getChild<class LLTextEditor>(
- const std::string& name, BOOL recurse) const;
-extern template class LLUICtrl* LLView::getChild<class LLUICtrl>(
- const std::string& name, BOOL recurse) const;
-extern template class LLView* LLView::getChild<class LLView>(
- const std::string& name, BOOL recurse) const;
+//extern template class LLButton* LLView::getChild<class LLButton>(
+// const std::string& name, BOOL recurse) const;
+//extern template class LLCheckBoxCtrl* LLView::getChild<class LLCheckBoxCtrl>(
+// const std::string& name, BOOL recurse) const;
+//extern template class LLLineEditor* LLView::getChild<class LLLineEditor>(
+// const std::string& name, BOOL recurse) const;
+//extern template class LLPanel* LLView::getChild<class LLPanel>(
+// const std::string& name, BOOL recurse) const;
+//extern template class LLTextBox* LLView::getChild<class LLTextBox>(
+// const std::string& name, BOOL recurse) const;
+//extern template class LLTextEditor* LLView::getChild<class LLTextEditor>(
+// const std::string& name, BOOL recurse) const;
+//extern template class LLUICtrl* LLView::getChild<class LLUICtrl>(
+// const std::string& name, BOOL recurse) const;
+//extern template class LLView* LLView::getChild<class LLView>(
+// const std::string& name, BOOL recurse) const;
#endif //LL_LLVIEW_H