diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-01-21 04:56:53 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-01-21 04:56:53 +0000 |
commit | b802b416266d09a4f68b1ff64cc25a86d573b292 (patch) | |
tree | bfc8d06d52a8f736cb251e8486772eabc425bb98 | |
parent | e0e18f463f689c49d18dab1a0ec741169cb0f075 (diff) | |
download | ATCD-b802b416266d09a4f68b1ff64cc25a86d573b292.tar.gz |
Fixed some more bugs reported by egcs.
-rw-r--r-- | TAO/tao/sequence_T.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/TAO/tao/sequence_T.cpp b/TAO/tao/sequence_T.cpp index 1b04e84cb1a..027f864e364 100644 --- a/TAO/tao/sequence_T.cpp +++ b/TAO/tao/sequence_T.cpp @@ -424,7 +424,7 @@ TAO_Bounded_Object_Sequence<T,MAX>::operator= else { this->buffer_ = - TAO_Bounded_Object_Sequence<T>::allocbuf (this->maximum_); + TAO_Bounded_Object_Sequence<T,MAX>::allocbuf (this->maximum_); } TAO_Bounded_Base_Sequence::operator= (rhs); @@ -432,7 +432,6 @@ TAO_Bounded_Object_Sequence<T,MAX>::operator= T* *tmp2 = ACE_reinterpret_cast(T* *,rhs.buffer_); for (CORBA::ULong i=0; i < rhs.length_; ++i) tmp1[i] = T::_duplicate (tmp2[i]); - this->release_ = CORBA::B_TRUE; return *this; } @@ -501,7 +500,7 @@ template<CORBA::ULong MAX> TAO_Bounded_String_Sequence<MAX>:: TAO_Bounded_String_Sequence (void) : TAO_Bounded_Base_Sequence (MAX, - TAO_Bounded_Sequence<MAX>::allocbuf(MAX)) + TAO_Bounded_String_Sequence<MAX>::allocbuf(MAX)) { } |