summaryrefslogtreecommitdiff
path: root/indra/llui/lluictrlfactory.h
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-12-01 11:47:13 -0800
committerJames Cook <james@lindenlab.com>2009-12-01 11:47:13 -0800
commitdd6fa93d84a267c6367f83c2d7581207e6dd878d (patch)
tree1a40f8b6dc205addad73637f4d02caa060c88838 /indra/llui/lluictrlfactory.h
parent27351b8bf59c3b2cfc31c27947397055a40b52d7 (diff)
parent8025c15a71fa1ee9fa34781f7cf74dde8c4e622b (diff)
merge
Diffstat (limited to 'indra/llui/lluictrlfactory.h')
-rw-r--r--indra/llui/lluictrlfactory.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/lluictrlfactory.h b/indra/llui/lluictrlfactory.h
index 8a9c9e23c1..55d7d745eb 100644
--- a/indra/llui/lluictrlfactory.h
+++ b/indra/llui/lluictrlfactory.h
@@ -108,6 +108,11 @@ extern LLFastTimer::DeclareTimer FTM_WIDGET_SETUP;
extern LLFastTimer::DeclareTimer FTM_WIDGET_CONSTRUCTION;
extern LLFastTimer::DeclareTimer FTM_INIT_FROM_PARAMS;
+// Build time optimization, generate this once in .cpp file
+#ifndef LLUICTRLFACTORY_CPP
+extern template class LLUICtrlFactory* LLSingleton<class LLUICtrlFactory>::getInstance();
+#endif
+
class LLUICtrlFactory : public LLSingleton<LLUICtrlFactory>
{
private: