summaryrefslogtreecommitdiff
path: root/ace/Timer_Heap_T.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-07-03 18:26:32 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-07-03 18:26:32 +0000
commit476508361329e0c9a431fdbc86344c3a6caf0571 (patch)
tree4cf3ea03c84abac2a37ee8bfc4ec6cf47226b5bd /ace/Timer_Heap_T.cpp
parentcb1f0768e2db53d76f173c687003d098cf6bb456 (diff)
downloadATCD-476508361329e0c9a431fdbc86344c3a6caf0571.tar.gz
ChangeLogTag:Sat Jul 3 12:05:46 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Diffstat (limited to 'ace/Timer_Heap_T.cpp')
-rw-r--r--ace/Timer_Heap_T.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/ace/Timer_Heap_T.cpp b/ace/Timer_Heap_T.cpp
index b67e0bc5f6f..0389707a459 100644
--- a/ace/Timer_Heap_T.cpp
+++ b/ace/Timer_Heap_T.cpp
@@ -89,7 +89,7 @@ ACE_Timer_Heap_T<TYPE, FUNCTOR, ACE_LOCK>::ACE_Timer_Heap_T (size_t size,
// Create the heap array.
ACE_NEW (this->heap_,
- (ACE_Timer_Node_T<TYPE> *[size]));
+ ACE_Timer_Node_T<TYPE> *[size]);
// Create the parallel
ACE_NEW (this->timer_ids_,
@@ -104,7 +104,7 @@ ACE_Timer_Heap_T<TYPE, FUNCTOR, ACE_LOCK>::ACE_Timer_Heap_T (size_t size,
if (preallocate)
{
ACE_NEW (this->preallocated_nodes_,
- (ACE_Timer_Node_T<TYPE>[size]));
+ ACE_Timer_Node_T<TYPE>[size]);
// Add allocated array to set of such arrays for deletion
// on cleanup.
@@ -140,10 +140,10 @@ ACE_Timer_Heap_T<TYPE, FUNCTOR, ACE_LOCK>::ACE_Timer_Heap_T (FUNCTOR *upcall_fun
// Create the heap array.
#if defined (__IBMCPP__) && (__IBMCPP__ >= 400)
ACE_NEW (this->heap_,
- (ACE_Timer_Node_T<TYPE> *[ACE_DEFAULT_TIMERS]));
+ ACE_Timer_Node_T<TYPE> *[ACE_DEFAULT_TIMERS]);
#else
ACE_NEW (this->heap_,
- (ACE_Timer_Node_T<TYPE> *[this->max_size_]));
+ ACE_Timer_Node_T<TYPE> *[this->max_size_]);
#endif /* defined (__IBMCPP__) && (__IBMCPP__ >= 400) */
// Create the parallel array.
@@ -410,14 +410,14 @@ ACE_Timer_Heap_T<TYPE, FUNCTOR, ACE_LOCK>::grow_heap (void)
#if defined (__IBMCPP__) && (__IBMCPP__ >= 400)
ACE_NEW (new_heap,
- (ACE_Timer_Node_T<TYPE> *[1024]));
+ ACE_Timer_Node_T<TYPE> *[1024]);
#else
ACE_NEW (new_heap,
- (ACE_Timer_Node_T<TYPE> *[new_size]));
+ ACE_Timer_Node_T<TYPE> *[new_size]);
#endif /* defined (__IBMCPP__) && (__IBMCPP__ >= 400) */
ACE_NEW (new_heap,
- (ACE_Timer_Node_T<TYPE> *[new_size]));
+ ACE_Timer_Node_T<TYPE> *[new_size]);
ACE_OS::memcpy (new_heap,
this->heap_,
max_size_ * sizeof *new_heap);
@@ -449,10 +449,10 @@ ACE_Timer_Heap_T<TYPE, FUNCTOR, ACE_LOCK>::grow_heap (void)
// to existing list.
#if defined (__IBMCPP__) && (__IBMCPP__ >= 400)
ACE_NEW (this->preallocated_nodes_,
- (ACE_Timer_Node_T<TYPE>[88]));
+ ACE_Timer_Node_T<TYPE>[88]);
#else
ACE_NEW (this->preallocated_nodes_,
- (ACE_Timer_Node_T<TYPE>[this->max_size_]));
+ ACE_Timer_Node_T<TYPE>[this->max_size_]);
#endif /* defined (__IBMCPP__) && (__IBMCPP__ >= 400) */
// Add it to the set for later deletion
@@ -517,7 +517,7 @@ ACE_Timer_Heap_T<TYPE, FUNCTOR, ACE_LOCK>::alloc_node (void)
// Only allocate a node if we are *not* using the preallocated heap.
if (this->preallocated_nodes_ == 0)
ACE_NEW_RETURN (temp,
- (ACE_Timer_Node_T<TYPE>),
+ ACE_Timer_Node_T<TYPE>,
0);
else
{