summaryrefslogtreecommitdiff
path: root/ace/Stats.i
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Stats.i')
-rw-r--r--ace/Stats.i5
1 files changed, 3 insertions, 2 deletions
diff --git a/ace/Stats.i b/ace/Stats.i
index 73c2c743d05..8f5b6d0df22 100644
--- a/ace/Stats.i
+++ b/ace/Stats.i
@@ -52,7 +52,8 @@ ACE_Stats_Value::scaled_value (ACE_UINT64 &sv) const
}
ACE_INLINE
-ACE_Stats::ACE_Stats (void)
+ACE_Stats::ACE_Stats (void) :
+ cached_mean_ (0xFFFFFFFFu)
{
reset ();
}
@@ -61,7 +62,7 @@ ACE_INLINE
ACE_UINT32
ACE_Stats::samples (void) const
{
- return samples_;
+ return number_of_samples_;
}
ACE_INLINE