summaryrefslogtreecommitdiff
path: root/ace/Metrics_Cache_T.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Metrics_Cache_T.h')
-rw-r--r--ace/Metrics_Cache_T.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Metrics_Cache_T.h b/ace/Metrics_Cache_T.h
index f686d99d9cf..98915527dc1 100644
--- a/ace/Metrics_Cache_T.h
+++ b/ace/Metrics_Cache_T.h
@@ -113,7 +113,7 @@ public:
= METRICS_DEFAULT_TIMEPROBE_TABLE_SIZE,
u_long number_of_probes
= METRICS_DEFAULT_TIMEPROBE_COUNT,
- ALLOCATOR * allocatorPtr = 0);
+ ALLOCATOR * allocatorPtr = (ALLOCATOR*)ALLOCATOR::instance());
// Default constructor.
~ACE_Metrics_Cache ();