Changing "typename const T" to "const typename T" makes gcc much happier. cool.

meow-7.2.2
Tofu Linden 2010-07-12 12:25:21 +01:00
parent 5190e7c1bb
commit d3f114d690
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ public:
void popFactoryFunctions();
template<typename T>
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;