diff options
| author | Richard Nelson <richard@lindenlab.com> | 2011-10-03 17:11:52 -0700 | 
|---|---|---|
| committer | Richard Nelson <richard@lindenlab.com> | 2011-10-03 17:11:52 -0700 | 
| commit | 05dd98a42327f8249b34dcf28cb7496a69b5f1ab (patch) | |
| tree | 98a96239aa953349a0a05b1e91f12b68d971e377 /indra | |
| parent | 2d0dfbca99ffa442025358ece6340b894245d3b0 (diff) | |
| parent | 13165e909a5ba35df864ace97206da1242f41265 (diff) | |
Automated merge with ssh://hg.lindenlab.com/richard/viewer-experience-fui
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/llxuixml/llinitparam.h | 24 | 
1 files changed, 15 insertions, 9 deletions
| diff --git a/indra/llxuixml/llinitparam.h b/indra/llxuixml/llinitparam.h index 9a6ded47ff..3dce7a939f 100644 --- a/indra/llxuixml/llinitparam.h +++ b/indra/llxuixml/llinitparam.h @@ -564,10 +564,6 @@ namespace LLInitParam  	public:  		typedef const T&							value_assignment_t; -		S32 			mKeyVersion; -		mutable S32 	mValidatedVersion; -		mutable bool 	mValidated; // lazy validation flag -  		ParamValue()   		:	T(),  			mKeyVersion(0), @@ -607,6 +603,12 @@ namespace LLInitParam  		{  			return *this;  		} + +		S32 			mKeyVersion; + +	protected: +		mutable S32 	mValidatedVersion; +		mutable bool 	mValidated; // lazy validation flag  	};  	template<typename T, typename NAME_VALUE_LOOKUP = TypeValues<T> > @@ -1679,8 +1681,6 @@ namespace LLInitParam  		S32 mLastParseGeneration;  	}; -	 -  	template<typename DERIVED_BLOCK,  			typename BASE_BLOCK,  			typename NAME_VALUE_LOOKUP> @@ -1690,17 +1690,18 @@ namespace LLInitParam  	:	public Param,  		protected BatchBlock<DERIVED_BLOCK, BASE_BLOCK>  	{ +		typedef BatchBlock<DERIVED_BLOCK, BASE_BLOCK> block_t;  		typedef const BatchBlock<DERIVED_BLOCK, BASE_BLOCK>&	value_assignment_t;  		ParamValue() -		:	T(), +		:	block_t(),  			mKeyVersion(0),  			mValidatedVersion(-1),  			mValidated(false)  		{}  		ParamValue(value_assignment_t other) -		:	T(other), +		:	block_t(other),  			mKeyVersion(0),  			mValidatedVersion(-1),  			mValidated(false) @@ -1710,7 +1711,7 @@ namespace LLInitParam  		void setValue(value_assignment_t val)  		{  			*this = val; -			mLastParseGeneration = -1; +			block_t::mLastParseGeneration = -1;  		}  		value_assignment_t getValue() const @@ -1733,6 +1734,11 @@ namespace LLInitParam  			return *this;  		} +		S32 			mKeyVersion; + +	protected: +		mutable S32 	mValidatedVersion; +		mutable bool 	mValidated; // lazy validation flag  	};  	template<typename T> | 
