diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-06-06 05:31:12 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-06-06 05:31:12 +0000 |
commit | 04083db794bd12b187bfda4dfcaa009256fd823a (patch) | |
tree | 1ffe7ee6c6ad40b2c91c430489d3de24b2a4bbf8 /TAO/tao/Sequence_T.i | |
parent | 083a2168714bdbb769436248370f6f9b607cc17b (diff) | |
download | ATCD-04083db794bd12b187bfda4dfcaa009256fd823a.tar.gz |
.
Diffstat (limited to 'TAO/tao/Sequence_T.i')
-rw-r--r-- | TAO/tao/Sequence_T.i | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/TAO/tao/Sequence_T.i b/TAO/tao/Sequence_T.i index 35c7c972afe..c32f03bb038 100644 --- a/TAO/tao/Sequence_T.i +++ b/TAO/tao/Sequence_T.i @@ -295,11 +295,11 @@ TAO_Unbounded_Object_Sequence (CORBA::ULong maximum, } template <class T> ACE_INLINE TAO_Object_Manager<T> -TAO_Unbounded_Object_Sequence<T>::operator[] (CORBA::ULong index) const +TAO_Unbounded_Object_Sequence<T>::operator[] (CORBA::ULong slot) const { - ACE_ASSERT (index < this->maximum_); + ACE_ASSERT (slot < this->maximum_); T ** const tmp = ACE_reinterpret_cast (T ** ACE_CAST_CONST, this->buffer_); - return TAO_Object_Manager<T> (tmp + index, this->release_); + return TAO_Object_Manager<T> (tmp + slot, this->release_); } // ************************************************************* @@ -322,11 +322,11 @@ TAO_Bounded_Object_Sequence (CORBA::ULong length, } template <class T, CORBA::ULong MAX> ACE_INLINE TAO_Object_Manager<T> -TAO_Bounded_Object_Sequence<T, MAX>::operator[] (CORBA::ULong index) const +TAO_Bounded_Object_Sequence<T, MAX>::operator[] (CORBA::ULong slot) const { - ACE_ASSERT (index < this->maximum_); + ACE_ASSERT (slot < this->maximum_); T **const tmp = ACE_reinterpret_cast (T ** ACE_CAST_CONST, this->buffer_); - return TAO_Object_Manager<T> (tmp + index, this->release_); + return TAO_Object_Manager<T> (tmp + slot, this->release_); } // ************************************************************* @@ -350,11 +350,11 @@ TAO_Unbounded_Pseudo_Sequence (CORBA::ULong maximum, } template <class T> ACE_INLINE TAO_Object_Manager<T> -TAO_Unbounded_Pseudo_Sequence<T>::operator[] (CORBA::ULong index) const +TAO_Unbounded_Pseudo_Sequence<T>::operator[] (CORBA::ULong slot) const { - ACE_ASSERT (index < this->maximum_); + ACE_ASSERT (slot < this->maximum_); T ** const tmp = ACE_reinterpret_cast (T ** ACE_CAST_CONST, this->buffer_); - return TAO_Object_Manager<T> (tmp + index, this->release_); + return TAO_Object_Manager<T> (tmp + slot, this->release_); } // ************************************************************* @@ -377,11 +377,11 @@ TAO_Bounded_Pseudo_Sequence (CORBA::ULong length, } template <class T, CORBA::ULong MAX> ACE_INLINE TAO_Object_Manager<T> -TAO_Bounded_Pseudo_Sequence<T, MAX>::operator[] (CORBA::ULong index) const +TAO_Bounded_Pseudo_Sequence<T, MAX>::operator[] (CORBA::ULong slot) const { - ACE_ASSERT (index < this->maximum_); + ACE_ASSERT (slot < this->maximum_); T **const tmp = ACE_reinterpret_cast (T ** ACE_CAST_CONST, this->buffer_); - return TAO_Object_Manager<T> (tmp + index, this->release_); + return TAO_Object_Manager<T> (tmp + slot, this->release_); } // ************************************************************* |