diff options
Diffstat (limited to 'TAO/tao/Objref_VarOut_T.cpp')
-rw-r--r-- | TAO/tao/Objref_VarOut_T.cpp | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/TAO/tao/Objref_VarOut_T.cpp b/TAO/tao/Objref_VarOut_T.cpp index 6c3ab3e046c..c8b86b6e406 100644 --- a/TAO/tao/Objref_VarOut_T.cpp +++ b/TAO/tao/Objref_VarOut_T.cpp @@ -164,16 +164,6 @@ TAO_Objref_Out_T<T>::operator= ( template <typename T> TAO_Objref_Out_T<T> & -TAO_Objref_Out_T<T>::operator= ( - const TAO_Objref_Var_T<T> & p - ) -{ - this->ptr_ = TAO::Objref_Traits<T>::duplicate (p.ptr ()); - return *this; -} - -template <typename T> -TAO_Objref_Out_T<T> & TAO_Objref_Out_T<T>::operator= (T * p) { this->ptr_ = p; @@ -181,14 +171,14 @@ TAO_Objref_Out_T<T>::operator= (T * p) } template <typename T> -TAO_Objref_Out_T<T>::operator T *& () +T *& +TAO_Objref_Out_T<T>::ptr (void) { return this->ptr_; } template <typename T> -T *& -TAO_Objref_Out_T<T>::ptr (void) +TAO_Objref_Out_T<T>::operator T *& () { return this->ptr_; } |