summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-05-03 12:20:33 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-05-03 12:20:33 +0000
commitda7d13a60e3ecd6e9f5e0b98de4115ccd20110c7 (patch)
tree9b584444fa5edf02974ca21c0e6854f3711adcc7
parent28dbc6dcc9207a2d794e6ec762b692ff212efa47 (diff)
downloadATCD-da7d13a60e3ecd6e9f5e0b98de4115ccd20110c7.tar.gz
fixed typos in Fixed_Set find and assignment operator
-rw-r--r--ace/Set.cpp4
1 files 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<T, SIZE>::operator = (const ACE_Fixed_Set<T, SIZE> &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<T, SIZE>::find (T &item, size_t index) const
return 0;
else
{
- item = this->search_structure_[i].item_;
+ item = this->search_structure_[index].item_;
return 1;
}