aboutsummaryrefslogtreecommitdiff
path: root/dep/acelite/ace/Stats.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dep/acelite/ace/Stats.cpp')
-rw-r--r--dep/acelite/ace/Stats.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/dep/acelite/ace/Stats.cpp b/dep/acelite/ace/Stats.cpp
index 856d0e04db5..04bba5e86b1 100644
--- a/dep/acelite/ace/Stats.cpp
+++ b/dep/acelite/ace/Stats.cpp
@@ -1,4 +1,4 @@
-// $Id: Stats.cpp 91286 2010-08-05 09:04:31Z johnnyw $
+// $Id: Stats.cpp 95761 2012-05-15 18:23:04Z johnnyw $
#include "ace/Stats.h"
@@ -68,15 +68,8 @@ ACE_Stats::mean (ACE_Stats_Value &m,
{
if (number_of_samples_ > 0)
{
-#if defined ACE_LACKS_LONGLONG_T
- // If ACE_LACKS_LONGLONG_T, then ACE_UINT64 is a user-defined class.
- // To prevent having to construct a static of that class, declare it
- // on the stack, and construct it, in each function that needs it.
- const ACE_U_LongLong ACE_STATS_INTERNAL_OFFSET (0, 8);
-#else /* ! ACE_LACKS_LONGLONG_T */
const ACE_UINT64 ACE_STATS_INTERNAL_OFFSET =
ACE_UINT64_LITERAL (0x100000000);
-#endif /* ! ACE_LACKS_LONGLONG_T */
ACE_UINT64 sum = ACE_STATS_INTERNAL_OFFSET;
ACE_Unbounded_Queue_Iterator<ACE_INT32> i (samples_);