diff options
author | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-10-28 18:31:01 +0000 |
---|---|---|
committer | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-10-28 18:31:01 +0000 |
commit | cdb6fd66611283a0314ab23e08472d11dae4f0e4 (patch) | |
tree | fd6ae8c3db752254802dfaafd1543974a4741e47 /TAO/tao/Array_VarOut_T.cpp | |
parent | f984aa2bff444f381570d2f97ac9ba958926fb6b (diff) | |
download | ATCD-cdb6fd66611283a0314ab23e08472d11dae4f0e4.tar.gz |
ChangeLogTag:Tue Oct 28 12:02:47 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/Array_VarOut_T.cpp')
-rw-r--r-- | TAO/tao/Array_VarOut_T.cpp | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/TAO/tao/Array_VarOut_T.cpp b/TAO/tao/Array_VarOut_T.cpp index b9058fedc07..773387edf97 100644 --- a/TAO/tao/Array_VarOut_T.cpp +++ b/TAO/tao/Array_VarOut_T.cpp @@ -13,33 +13,33 @@ ACE_RCSID (tao, Array_VarOut_T, "$Id$") -template<typename T_slice, typename T_life> -TAO_FixedArray_Var_T<T_slice,T_life> & -TAO_FixedArray_Var_T<T_slice,T_life>::operator= (T_slice * p) +template<typename T, typename T_slice> +TAO_FixedArray_Var_T<T,T_slice> & +TAO_FixedArray_Var_T<T,T_slice>::operator= (T_slice * p) { // Is what we own the same that is being assigned to us? if (this->ptr_ != p) { // Delete our stuff and assume ownership of p. - T_life::tao_free (this->ptr_); + TAO::Array_Traits<T,T_slice>::tao_free (this->ptr_); this->ptr_ = p; } return *this; } -template<typename T_slice, typename T_life> -TAO_FixedArray_Var_T<T_slice,T_life> & -TAO_FixedArray_Var_T<T_slice,T_life>::operator= ( - const TAO_FixedArray_Var_T<T_slice,T_life> & p +template<typename T, typename T_slice> +TAO_FixedArray_Var_T<T,T_slice> & +TAO_FixedArray_Var_T<T,T_slice>::operator= ( + const TAO_FixedArray_Var_T<T,T_slice> & p ) { if (this != &p) { - T_life::tao_free (this->ptr_); + TAO::Array_Traits<T,T_slice>::tao_free (this->ptr_); // Deep copy. - this->ptr_ = T_life::tao_dup (p.in ()); + this->ptr_ = TAO::Array_Traits<T,T_slice>::tao_dup (p.in ()); } return *this; @@ -47,33 +47,33 @@ TAO_FixedArray_Var_T<T_slice,T_life>::operator= ( // ************************************************************* -template<typename T_slice, typename T_life> -TAO_VarArray_Var_T<T_slice,T_life> & -TAO_VarArray_Var_T<T_slice,T_life>::operator= (T_slice * p) +template<typename T, typename T_slice> +TAO_VarArray_Var_T<T,T_slice> & +TAO_VarArray_Var_T<T,T_slice>::operator= (T_slice * p) { // Is what we own the same that is being assigned to us? if (this->ptr_ != p) { // Delete our stuff and assume ownership of p. - T_life::tao_free (this->ptr_); + TAO::Array_Traits<T,T_slice>::tao_free (this->ptr_); this->ptr_ = p; } return *this; } -template<typename T_slice, typename T_life> -TAO_VarArray_Var_T<T_slice,T_life> & -TAO_VarArray_Var_T<T_slice,T_life>::operator= ( - const TAO_VarArray_Var_T<T_slice,T_life> & p +template<typename T, typename T_slice> +TAO_VarArray_Var_T<T,T_slice> & +TAO_VarArray_Var_T<T,T_slice>::operator= ( + const TAO_VarArray_Var_T<T,T_slice> & p ) { if (this != &p) { - T_life::tao_free (this->ptr_); + TAO::Array_Traits<T,T_slice>::tao_free (this->ptr_); // Deep copy. - this->ptr_ = T_life::tao_dup (p.in ()); + this->ptr_ = TAO::Array_Traits<T,T_slice>::tao_dup (p.in ()); } return *this; @@ -81,14 +81,14 @@ TAO_VarArray_Var_T<T_slice,T_life>::operator= ( // ************************************************************* -template<typename T_slice, typename T_life> +template<typename T, typename T_slice> void -TAO_Array_Forany_T<T_slice,T_life>::_tao_any_destructor ( +TAO_Array_Forany_T<T,T_slice>::_tao_any_destructor ( void * _tao_void_pointer ) { T_slice * tmp = ACE_static_cast (T_slice *, _tao_void_pointer); - T_life::tao_free (tmp); + TAO::Array_Traits<T,T_slice>::tao_free (tmp); } #endif /* TAO_ARRAY_VAROUT_T_C */ |