diff options
author | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-02-15 00:42:46 +0000 |
---|---|---|
committer | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-02-15 00:42:46 +0000 |
commit | 3af8e3b65c82aecc76d8467ab3bf49855949968f (patch) | |
tree | b671371dc6233383658f8a6c6dac9cb2e7ec6ce7 /ace/Timer_Hash_T.cpp | |
parent | d17a17552c52eb6332ccfd115639ea9279f2eebc (diff) | |
download | ATCD-3af8e3b65c82aecc76d8467ab3bf49855949968f.tar.gz |
Fixed a bug with earliest time pointers not being set correctly.
Diffstat (limited to 'ace/Timer_Hash_T.cpp')
-rw-r--r-- | ace/Timer_Hash_T.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/Timer_Hash_T.cpp b/ace/Timer_Hash_T.cpp index 2db6451c8e5..89c77d408bb 100644 --- a/ace/Timer_Hash_T.cpp +++ b/ace/Timer_Hash_T.cpp @@ -303,7 +303,7 @@ ACE_Timer_Hash_T<TYPE, FUNCTOR, ACE_LOCK, BUCKET>::reschedule (ACE_Timer_Node_T< expired->get_interval ()); if (this->table_[this->earliest_position_]->is_empty () - || this->table_[this->earliest_position_]->earliest_time () < this->table_[position]->earliest_time ()) + || this->table_[position]->earliest_time () < this->table_[this->earliest_position_]->earliest_time ()) this->earliest_position_ = position; } @@ -330,7 +330,7 @@ ACE_Timer_Hash_T<TYPE, FUNCTOR, ACE_LOCK, BUCKET>::schedule (const TYPE &type, interval); if (this->table_[this->earliest_position_]->is_empty () - || this->table_[this->earliest_position_]->earliest_time () < this->table_[position]->earliest_time ()) + || this->table_[position]->earliest_time () < this->table_[this->earliest_position_]->earliest_time ()) this->earliest_position_ = position; ++this->size_; |