summaryrefslogtreecommitdiff
path: root/ace/Priority_Reactor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Priority_Reactor.cpp')
-rw-r--r--ace/Priority_Reactor.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/ace/Priority_Reactor.cpp b/ace/Priority_Reactor.cpp
index 29ec6a9550f..bd9d48ab12e 100644
--- a/ace/Priority_Reactor.cpp
+++ b/ace/Priority_Reactor.cpp
@@ -23,8 +23,8 @@ ACE_ALLOC_HOOK_DEFINE(ACE_Priority_Reactor)
const int npriorities =
ACE_Event_Handler::HI_PRIORITY - ACE_Event_Handler::LO_PRIORITY + 1;
-ACE_INLINE
-void ACE_Priority_Reactor::init_bucket (void)
+ACE_INLINE void
+ACE_Priority_Reactor::init_bucket (void)
{
// Allocate enough space for all the handles.
// TODO: This can be wrong, maybe we should use other kind of
@@ -38,10 +38,6 @@ void ACE_Priority_Reactor::init_bucket (void)
int i;
for (i = 0; i < npriorities; ++i)
{
- this->bucket_[i] = 0;
- }
- for (i = 0; i < npriorities; ++i)
- {
ACE_NEW (this->bucket_[i], QUEUE (this->tuple_allocator_));
}
}