diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-05-04 22:05:57 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-05-04 22:05:57 +0000 |
commit | 2673941ccda8b8530513732ce9a5bfffe8e8ae45 (patch) | |
tree | fede1668935d2b7eb674eea741c54d6f2dd13743 /ace/Reactor.cpp | |
parent | f7ec296db4d3a90e5535c5b956ba9f3b63ef79b9 (diff) | |
download | ATCD-2673941ccda8b8530513732ce9a5bfffe8e8ae45.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Reactor.cpp')
-rw-r--r-- | ace/Reactor.cpp | 8 |
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. |