diff options
author | gokhale <asgokhale@users.noreply.github.com> | 1999-06-10 13:43:29 +0000 |
---|---|---|
committer | gokhale <asgokhale@users.noreply.github.com> | 1999-06-10 13:43:29 +0000 |
commit | 53281cdabf0fb863c80a911cc28b7181e6166f17 (patch) | |
tree | b6354824d00b41f27719afd0371b0d713fbb99d7 /TAO/tao | |
parent | 96a521e4eaa5c62ac5cf0cccfd88af87fc7d3866 (diff) | |
download | ATCD-53281cdabf0fb863c80a911cc28b7181e6166f17.tar.gz |
fixed template #params
Diffstat (limited to 'TAO/tao')
-rw-r--r-- | TAO/tao/Sequence_T.cpp | 4 | ||||
-rw-r--r-- | TAO/tao/Sequence_T.i | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/TAO/tao/Sequence_T.cpp b/TAO/tao/Sequence_T.cpp index 9352e37f7e5..116d4cb6d62 100644 --- a/TAO/tao/Sequence_T.cpp +++ b/TAO/tao/Sequence_T.cpp @@ -766,7 +766,7 @@ TAO_Bounded_Pseudo_Sequence<T, T_var,MAX>::operator= } else this->buffer_ = - TAO_Bounded_Pseudo_Sequence<T, MAX>::allocbuf (rhs.maximum_); + TAO_Bounded_Pseudo_Sequence<T, T_var, MAX>::allocbuf (rhs.maximum_); TAO_Bounded_Base_Sequence::operator= (rhs); @@ -821,7 +821,7 @@ TAO_Bounded_Pseudo_Sequence<T, T_var,MAX>::_deallocate_buffer (void) if (this->buffer_ == 0 || this->release_ == 0) return; T **tmp = ACE_reinterpret_cast (T **, this->buffer_); - TAO_Bounded_Pseudo_Sequence<T, MAX>::freebuf (tmp); + TAO_Bounded_Pseudo_Sequence<T, T_var, MAX>::freebuf (tmp); this->buffer_ = 0; } diff --git a/TAO/tao/Sequence_T.i b/TAO/tao/Sequence_T.i index 005c9e161ec..7c27d89f237 100644 --- a/TAO/tao/Sequence_T.i +++ b/TAO/tao/Sequence_T.i @@ -381,7 +381,7 @@ TAO_Bounded_Pseudo_Sequence<T, T_var,MAX>::operator[] (CORBA::ULong slot) const { ACE_ASSERT (slot < this->maximum_); T **const tmp = ACE_reinterpret_cast (T ** ACE_CAST_CONST, this->buffer_); - return TAO_Object_Manager<T> (tmp + slot, this->release_); + return TAO_Object_Manager<T,T_var> (tmp + slot, this->release_); } // ************************************************************* |