summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Cleeland <chris.cleeland@gmail.com>1998-01-21 05:02:39 +0000
committerChris Cleeland <chris.cleeland@gmail.com>1998-01-21 05:02:39 +0000
commitd07084d75dd61b12428a695fabc5f2ae1cc69804 (patch)
treeff6362d16e304fec3932b61ac6649120187f9746
parentb802b416266d09a4f68b1ff64cc25a86d573b292 (diff)
downloadATCD-d07084d75dd61b12428a695fabc5f2ae1cc69804.tar.gz
* tao/sequence_T.cpp: Fixed more typos where it was referring to
the argument as 'seq' rather than the real name 'rhs'.
-rw-r--r--TAO/ChangeLog-98c5
-rw-r--r--TAO/tao/sequence_T.cpp10
2 files changed, 10 insertions, 5 deletions
diff --git a/TAO/ChangeLog-98c b/TAO/ChangeLog-98c
index 1a02f02d673..4dcccc203a6 100644
--- a/TAO/ChangeLog-98c
+++ b/TAO/ChangeLog-98c
@@ -1,3 +1,8 @@
+Tue Jan 20 22:59:42 1998 Chris Cleeland <cleeland@tango.cs.wustl.edu>
+
+ * tao/sequence_T.cpp: Fixed more typos where it was referring to
+ the argument as 'seq' rather than the real name 'rhs'.
+
Tue Jan 20 22:38:10 1998 <coryan@MILONGA>
* tests/Param_Test/tests.cpp:
diff --git a/TAO/tao/sequence_T.cpp b/TAO/tao/sequence_T.cpp
index 027f864e364..e05e48aa0a6 100644
--- a/TAO/tao/sequence_T.cpp
+++ b/TAO/tao/sequence_T.cpp
@@ -262,11 +262,11 @@ operator= (const TAO_Unbounded_Object_Sequence<T> &rhs)
CORBA::release (tmp[i]);
tmp[i] = T::_nil ();
}
- if (this->maximum_ < seq.maximum_)
+ if (this->maximum_ < rhs.maximum_)
{
TAO_Unbounded_Object_Sequence<T>::freebuf (tmp);
this->buffer_ =
- TAO_Unbounded_Object_Sequence<T>::allocbuf (seq.maximum_);
+ TAO_Unbounded_Object_Sequence<T>::allocbuf (rhs.maximum_);
}
}
else
@@ -388,7 +388,7 @@ TAO_Bounded_Object_Sequence (const TAO_Bounded_Object_Sequence<T,MAX> &rhs)
{
T* *tmp1 =
TAO_Bounded_Object_Sequence<T,MAX>::allocbuf (MAX);
- T* *tmp2 = ACE_reinterpret_cast(T* *,seq.buffer_);
+ T* *tmp2 = ACE_reinterpret_cast(T* *,rhs.buffer_);
for (CORBA::ULong i=0; i < rhs.length_; i++)
tmp1[i] = T::_duplicate (tmp2[i]);
this->buffer_ = tmp1;
@@ -413,11 +413,11 @@ TAO_Bounded_Object_Sequence<T,MAX>::operator=
// No need to reallocate the buffer since it is always of size
// MAX
#if 0
- if (this->maximum_ < seq.maximum_)
+ if (this->maximum_ < rhs.maximum_)
{
TAO_Bounded_Object_Sequence<T,MAX>::freebuf (tmp);
this->buffer_ =
- TAO_Bounded_Object_Sequence<T,MAX>::allocbuf (seq.maximum_);
+ TAO_Bounded_Object_Sequence<T,MAX>::allocbuf (rhs.maximum_);
}
#endif /* 0 */
}