summaryrefslogtreecommitdiff
path: root/ace/Reactor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Reactor.cpp')
-rw-r--r--ace/Reactor.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/ace/Reactor.cpp b/ace/Reactor.cpp
index 16117c84594..70b04a8a371 100644
--- a/ace/Reactor.cpp
+++ b/ace/Reactor.cpp
@@ -365,6 +365,12 @@ ACE_Reactor_Handler_Repository_Iterator::next (ACE_Event_Handler *&next_item)
return result;
}
+int
+ACE_Reactor_Handler_Repository_Iterator::done (void) const
+{
+ return this->current_ >= this->rep_->max_handlep1_;
+}
+
// Move forward by one element in the set.
int
@@ -379,7 +385,7 @@ ACE_Reactor_Handler_Repository_Iterator::advance (void)
else
this->current_++;
- return 0;
+ return this->current_ < this->rep_->max_handlep1_;
}
// Dump the state of an object.