summaryrefslogtreecommitdiff
path: root/ACE/ace/Dev_Poll_Reactor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Dev_Poll_Reactor.cpp')
-rw-r--r--ACE/ace/Dev_Poll_Reactor.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ACE/ace/Dev_Poll_Reactor.cpp b/ACE/ace/Dev_Poll_Reactor.cpp
index 6a25648d6fd..ba1fb8c3dd4 100644
--- a/ACE/ace/Dev_Poll_Reactor.cpp
+++ b/ACE/ace/Dev_Poll_Reactor.cpp
@@ -132,7 +132,7 @@ ACE_Dev_Poll_Reactor_Notify::notify (ACE_Event_Handler *eh,
#if defined (ACE_HAS_REACTOR_NOTIFICATION_QUEUE)
ACE_Dev_Poll_Handler_Guard eh_guard (eh);
- int notification_required =
+ int notification_required =
notification_queue_.push_new_notification (buffer);
if (notification_required == -1)
@@ -230,8 +230,8 @@ ACE_Dev_Poll_Reactor_Notify::read_notify_pipe (ACE_HANDLE handle,
bool more_messages_queued = false;
ACE_Notification_Buffer next;
- int result = notification_queue_.pop_next_notification (buffer,
- more_messages_queued,
+ int result = notification_queue_.pop_next_notification (buffer,
+ more_messages_queued,
next);
if (result == 0)
@@ -240,7 +240,7 @@ ACE_Dev_Poll_Reactor_Notify::read_notify_pipe (ACE_HANDLE handle,
ACE::recv (handle, read_p, to_read);
return 0;
}
-
+
if (result == -1)
return -1;
@@ -1573,7 +1573,7 @@ ACE_Dev_Poll_Reactor::remove_handler_i (ACE_HANDLE handle,
return -1;
// Check for ref counting now - handle_close () may delete eh.
- int requires_reference_counting =
+ bool const requires_reference_counting =
eh->reference_counting_policy ().value () ==
ACE_Event_Handler::Reference_Counting_Policy::ENABLED;