From 0c54cf51db0c1a6e0b2ac91d69b2646570b168eb Mon Sep 17 00:00:00 2001 From: Richard Linden Date: Wed, 30 Nov 2011 18:32:28 -0800 Subject: gcc fix attempt --- indra/llxuixml/llinitparam.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'indra') diff --git a/indra/llxuixml/llinitparam.h b/indra/llxuixml/llinitparam.h index 80b6504c4f..7927f84cba 100644 --- a/indra/llxuixml/llinitparam.h +++ b/indra/llxuixml/llinitparam.h @@ -598,7 +598,7 @@ namespace LLInitParam } private: - friend BaseBlock; + friend class BaseBlock; U32 mEnclosingBlockOffset:31; U32 mIsProvided:1; @@ -736,7 +736,7 @@ namespace LLInitParam self_t& operator =(const typename NAME_VALUE_LOOKUP::name_t& name) { - if (NAME_VALUE_LOOKUP::getValueFromName(name, mValue)) + if (NAME_VALUE_LOOKUP::getValueFromName(name, *this)) { setValueName(name); } @@ -817,7 +817,7 @@ namespace LLInitParam public: typedef TypedParam self_t; typedef ParamValue param_value_t; - typedef param_value_t::value_assignment_t value_assignment_t; + typedef typename param_value_t::value_assignment_t value_assignment_t; typedef NAME_VALUE_LOOKUP name_value_lookup_t; using param_value_t::operator(); @@ -1261,7 +1261,7 @@ namespace LLInitParam setProvided(); } - void add(typename const name_value_lookup_t::name_t& name) + void add(const typename name_value_lookup_t::name_t& name) { value_t value; @@ -1447,7 +1447,7 @@ namespace LLInitParam setProvided(); } - void add(typename const name_value_lookup_t::name_t& name) + void add(const typename name_value_lookup_t::name_t& name) { value_t value; -- cgit v1.2.3