From da7d13a60e3ecd6e9f5e0b98de4115ccd20110c7 Mon Sep 17 00:00:00 2001 From: levine Date: Sat, 3 May 1997 12:20:33 +0000 Subject: fixed typos in Fixed_Set find and assignment operator --- ace/Set.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ace/Set.cpp b/ace/Set.cpp index c6c3bfcbd4a..eb7894a906a 100644 --- a/ace/Set.cpp +++ b/ace/Set.cpp @@ -64,7 +64,7 @@ ACE_Fixed_Set::operator = (const ACE_Fixed_Set &fs) if (this == &fs) return; - this->cur_size_ = bs.cur_size_; + this->cur_size_ = fs.cur_size_; for (size_t i = 0; i < this->cur_size_; i++) this->search_structure_[i] = fs.search_structure_[i]; @@ -104,7 +104,7 @@ ACE_Fixed_Set::find (T &item, size_t index) const return 0; else { - item = this->search_structure_[i].item_; + item = this->search_structure_[index].item_; return 1; } -- cgit v1.2.1