diff options
author | cdgill <cdgill@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-02-01 21:10:32 +0000 |
---|---|---|
committer | cdgill <cdgill@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-02-01 21:10:32 +0000 |
commit | b24159967bb82257c55da097be08ae24915231cf (patch) | |
tree | f683746f62e6890542342fe8389be0925bc5637b | |
parent | 4cf6f8f061ea0aae54ae742207412e908504a36c (diff) | |
download | ATCD-b24159967bb82257c55da097be08ae24915231cf.tar.gz |
fixed ACE_Ordered_Iterator<T>::is_empty ()
-rw-r--r-- | ace/Containers.i | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Containers.i b/ace/Containers.i index b7639bc3cc6..635ff9f626c 100644 --- a/ace/Containers.i +++ b/ace/Containers.i @@ -288,7 +288,7 @@ template <class T> ACE_INLINE int ACE_Ordered_MultiSet<T>::is_empty (void) const { ACE_TRACE ("ACE_Ordered_MultiSet<T>::is_empty"); - return this->head_ == this->head_->next_; + return this->cur_size_ > 0 ? 0 : 1; } template <class T> ACE_INLINE size_t |