From d3f114d6901877bb79ae9719f59d681fa6a9d494 Mon Sep 17 00:00:00 2001 From: Tofu Linden Date: Mon, 12 Jul 2010 12:25:21 +0100 Subject: Changing "typename const T" to "const typename T" makes gcc much happier. cool. --- indra/llui/lluictrlfactory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/llui/lluictrlfactory.h b/indra/llui/lluictrlfactory.h index ff99712c5f..dc43b311a7 100644 --- a/indra/llui/lluictrlfactory.h +++ b/indra/llui/lluictrlfactory.h @@ -182,7 +182,7 @@ public: void popFactoryFunctions(); template - static T* createWidget(typename const T::Params& params, LLView* parent = NULL) + static T* createWidget(const typename T::Params& params, LLView* parent = NULL) { T* widget = NULL; -- cgit v1.2.3