summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/llcommon/lltracerecording.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/llcommon/lltracerecording.h b/indra/llcommon/lltracerecording.h
index 68b95a1003..f5fb2bf561 100644
--- a/indra/llcommon/lltracerecording.h
+++ b/indra/llcommon/lltracerecording.h
@@ -496,8 +496,8 @@ namespace LLTrace
}
}
return (num_periods
- ? RelatedTypes<typename T::value_t>::fractional_t(mean / num_periods)
- : RelatedTypes<typename T::value_t>::fractional_t(NaN));
+ ? typename RelatedTypes<typename T::value_t>::fractional_t(mean / num_periods)
+ : typename RelatedTypes<typename T::value_t>::fractional_t(NaN));
}
template<typename T>
@@ -537,8 +537,8 @@ namespace LLTrace
}
return (num_periods
- ? RelatedTypes<typename T::value_t>::fractional_t(mean / num_periods)
- : RelatedTypes<typename T::value_t>::fractional_t(NaN));
+ ? typename RelatedTypes<typename T::value_t>::fractional_t(mean / num_periods)
+ : typename RelatedTypes<typename T::value_t>::fractional_t(NaN));
}
template<typename T>