diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-08-06 21:34:37 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-08-06 21:34:37 +0000 |
commit | 984358cddf2aa84cf8d81f6f63847cc5d3d2dbba (patch) | |
tree | a27b91e7887ff68def4e0ee39bb8a684e961c254 /ace/Map_Manager.i | |
parent | 2a5e5830e57cf1291bd28cc355092e25e63f21bc (diff) | |
download | ATCD-984358cddf2aa84cf8d81f6f63847cc5d3d2dbba.tar.gz |
ChangeLogTag:Fri Aug 06 15:20:00 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
Diffstat (limited to 'ace/Map_Manager.i')
-rw-r--r-- | ace/Map_Manager.i | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/ace/Map_Manager.i b/ace/Map_Manager.i index 0f34d8ed53d..940acbc10b1 100644 --- a/ace/Map_Manager.i +++ b/ace/Map_Manager.i @@ -278,9 +278,7 @@ ACE_Map_Iterator_Base<EXT_ID, INT_ID, ACE_LOCK>::next (ACE_Map_Entry<EXT_ID, INT return 1; } else - { - return 0; - } + return 0; } template <class EXT_ID, class INT_ID, class ACE_LOCK> ACE_INLINE int @@ -293,13 +291,9 @@ template <class EXT_ID, class INT_ID, class ACE_LOCK> ACE_INLINE int ACE_Map_Iterator_Base<EXT_ID, INT_ID, ACE_LOCK>::forward_i (void) { if (this->next_ == this->map_man_->occupied_list_id ()) - { - this->next_ = this->map_man_->occupied_list_.next (); - } + this->next_ = this->map_man_->occupied_list_.next (); else - { - this->next_ = this->map_man_->search_structure_[this->next_].next (); - } + this->next_ = this->map_man_->search_structure_[this->next_].next (); return this->next_ != this->map_man_->occupied_list_id (); } @@ -308,13 +302,9 @@ template <class EXT_ID, class INT_ID, class ACE_LOCK> ACE_INLINE int ACE_Map_Iterator_Base<EXT_ID, INT_ID, ACE_LOCK>::reverse_i (void) { if (this->next_ == this->map_man_->occupied_list_id ()) - { - this->next_ = this->map_man_->occupied_list_.prev (); - } + this->next_ = this->map_man_->occupied_list_.prev (); else - { - this->next_ = this->map_man_->search_structure_[this->next_].prev (); - } + this->next_ = this->map_man_->search_structure_[this->next_].prev (); return this->next_ != this->map_man_->occupied_list_id (); } |