diff options
| author | Richard Linden <none@none> | 2013-08-14 17:45:15 -0700 | 
|---|---|---|
| committer | Richard Linden <none@none> | 2013-08-14 17:45:15 -0700 | 
| commit | a2dc1b7e55b27987f9b20d1e0470a8df77ecc595 (patch) | |
| tree | 9343c219abee5e9499b2bab5f9b720b1957a6b25 | |
| parent | da030893dd57bdc745330409f28a5982f453a727 (diff) | |
BUILDFIX: more gcc fixes
| -rw-r--r-- | indra/llcommon/lltracerecording.h | 18 | 
1 files changed, 9 insertions, 9 deletions
| diff --git a/indra/llcommon/lltracerecording.h b/indra/llcommon/lltracerecording.h index 811786fbfa..3c23c6a3f6 100644 --- a/indra/llcommon/lltracerecording.h +++ b/indra/llcommon/lltracerecording.h @@ -347,7 +347,7 @@ namespace LLTrace  			for (S32 i = 1; i <= num_periods; i++)  			{  				Recording& recording = getPrevRecording(i); -				num_samples += Recording.getSampleCount(stat); +				num_samples += recording.getSampleCount(stat);  			}  			return num_samples;          } @@ -366,7 +366,7 @@ namespace LLTrace  			typename T::value_t min_val = std::numeric_limits<typename T::value_t>::max();  			for (S32 i = 1; i <= num_periods; i++)  			{ -				Recording& recording = getPrevRecording(i) +				Recording& recording = getPrevRecording(i);  				min_val = llmin(min_val, recording.getSum(stat));  			}  			return min_val; @@ -398,7 +398,7 @@ namespace LLTrace  			size_t total_periods = mNumPeriods;  			num_periods = llmin(num_periods, isStarted() ? total_periods - 1 : total_periods); -			RelatedTypes<typename T::value_t>::fractional_t min_val = std::numeric_limits<F64>::max(); +			typename RelatedTypes<typename T::value_t>::fractional_t min_val = std::numeric_limits<F64>::max();  			for (S32 i = 1; i <= num_periods; i++)  			{  				Recording& recording = getPrevRecording(i); @@ -485,7 +485,7 @@ namespace LLTrace  			size_t total_periods = mNumPeriods;  			num_periods = llmin(num_periods, isStarted() ? total_periods - 1 : total_periods); -			typename RelatedTypes<T::value_t>::fractional_t mean(0); +			typename RelatedTypes<typename T::value_t>::fractional_t mean(0);  			for (S32 i = 1; i <= num_periods; i++)  			{ @@ -496,8 +496,8 @@ namespace LLTrace  				}  			}  			return (num_periods -				? RelatedTypes<T::value_t>::fractional_t(mean / num_periods) -				: RelatedTypes<T::value_t>::fractional_t(NaN)); +				? RelatedTypes<typename T::value_t>::fractional_t(mean / num_periods) +				: RelatedTypes<typename T::value_t>::fractional_t(NaN));  		}  		template<typename T> @@ -525,7 +525,7 @@ namespace LLTrace  			size_t total_periods = mNumPeriods;  			num_periods = llmin(num_periods, isStarted() ? total_periods - 1 : total_periods); -			typename RelatedTypes<T::value_t>::fractional_t mean = 0; +			typename RelatedTypes<typename T::value_t>::fractional_t mean = 0;  			for (S32 i = 1; i <= num_periods; i++)  			{ @@ -537,8 +537,8 @@ namespace LLTrace  			}  			return (num_periods -				? RelatedTypes<T::value_t>::fractional_t(mean / num_periods) -				: RelatedTypes<T::value_t>::fractional_t(NaN)); +				? RelatedTypes<typename T::value_t>::fractional_t(mean / num_periods) +				: RelatedTypes<typename T::value_t>::fractional_t(NaN));  		}  		template<typename T> | 
