diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-06-17 15:09:25 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-06-17 15:09:25 +0000 |
commit | b6b3d651a79ba2274fd3cf91c2b1bf5ea00cacd0 (patch) | |
tree | 322f3df305d9c8338bb17bd0d4119377a61c7c56 /TAO/tao/Objref_VarOut_T.cpp | |
parent | 5c6e27500cde3fed1956b431028fbf26a44b884b (diff) | |
download | ATCD-b6b3d651a79ba2274fd3cf91c2b1bf5ea00cacd0.tar.gz |
ChangeLogTag: Tue Jun 17 09:56:38 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/tao/Objref_VarOut_T.cpp')
-rw-r--r-- | TAO/tao/Objref_VarOut_T.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tao/Objref_VarOut_T.cpp b/TAO/tao/Objref_VarOut_T.cpp index 8f0b2572a67..654845b4b38 100644 --- a/TAO/tao/Objref_VarOut_T.cpp +++ b/TAO/tao/Objref_VarOut_T.cpp @@ -66,9 +66,9 @@ TAO_Objref_Var_T<T, T_life>::operator-> (void) const } template <typename T, typename T_life> -TAO_Objref_Var_T<T, T_life>::operator const T *& () const +TAO_Objref_Var_T<T, T_life>::operator T const *& () const { - return ACE_const_cast (const T *, this->ptr_); + return this->ptr_; } template <typename T, typename T_life> @@ -154,7 +154,7 @@ template <typename T, typename T_life> TAO_Objref_Out_T<T, T_life>::TAO_Objref_Out_T ( const TAO_Objref_Out_T<T, T_life> & p ) - : ptr_ (ACE_const_cast (THIS_OUT_TYPE &, p).ptr_) + : ptr_ (p.ptr_) { } @@ -164,7 +164,7 @@ TAO_Objref_Out_T<T, T_life>::operator= ( const TAO_Objref_Out_T<T, T_life> & p ) { - this->ptr_ = ACE_const_cast (THIS_OUT_TYPE &, p).ptr_; + this->ptr_ = p.ptr_; return *this; } |