diff options
author | cdgill <cdgill@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-02-06 16:30:51 +0000 |
---|---|---|
committer | cdgill <cdgill@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-02-06 16:30:51 +0000 |
commit | f9778c18f17b21be214fed32cfed15dafc4f0826 (patch) | |
tree | ea1e5dd21dc5cb656d5812bcadc1c2f7cf9b3afa | |
parent | c29788507c02b272d8b994d692d73e4684151b24 (diff) | |
download | ATCD-f9778c18f17b21be214fed32cfed15dafc4f0826.tar.gz |
fixed ACE_Doubly_Linked_List_Iterator<T>::first ()
-rw-r--r-- | ChangeLog-98a | 5 | ||||
-rw-r--r-- | ace/Containers.cpp | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog-98a b/ChangeLog-98a index 4380edbfff9..e36f933423f 100644 --- a/ChangeLog-98a +++ b/ChangeLog-98a @@ -1,3 +1,8 @@ +Fri Feb 06 10:30:00 1998 Chris Gill <cdgill@cs.wustl.edu> + + * ace/Containers.cpp: fixed error in + ACE_Doubly_Linked_List_Iterator<T>::first (void); + Fri Feb 06 08:27:32 1998 Chris Gill <cdgill@cs.wustl.edu> * ace/Containers.{cpp,h} : added "first" methods to all container diff --git a/ace/Containers.cpp b/ace/Containers.cpp index 4b99b0128f8..944510140b7 100644 --- a/ace/Containers.cpp +++ b/ace/Containers.cpp @@ -684,8 +684,8 @@ ACE_Double_Linked_List_Iterator<T>::advance (void) template <class T> int ACE_Double_Linked_List_Iterator<T>::first (void) { - this->current_ = dll.head_->next_; - return this->not_done (); + this->current_ = dllist_.head_->next_; + return this->not_done () ? 1 : 0; } template <class T> int |