diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-01 04:34:31 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-01 04:34:31 +0000 |
commit | d551f85e057b323158e1648aa86b4df2020cf82a (patch) | |
tree | 9ab4432f4f810fe916d42bb8192029baa08489cf /TAO/tao/Sequence_T.cpp | |
parent | 2189b4722c008c61aa3176e72dd71e21eb6b0faa (diff) | |
download | ATCD-d551f85e057b323158e1648aa86b4df2020cf82a.tar.gz |
ChangeLogTag: Mon Mar 31 22:31:47 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/tao/Sequence_T.cpp')
-rw-r--r-- | TAO/tao/Sequence_T.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/TAO/tao/Sequence_T.cpp b/TAO/tao/Sequence_T.cpp index 72e9114b1db..2c7bbb97fce 100644 --- a/TAO/tao/Sequence_T.cpp +++ b/TAO/tao/Sequence_T.cpp @@ -714,11 +714,7 @@ TAO_Abstract_Manager<T,T_var,T_life>::operator= (const T_var & p) template<typename T, typename T_var, typename T_life> TAO_Abstract_Manager<T,T_var,T_life>::operator const T_var () const { - if (*this->ptr_ != 0) - { - (*this->ptr_)->_add_ref (); - } - + T_life::tao_duplicate (*this->ptr_); return *this->ptr_; } @@ -726,11 +722,7 @@ template<typename T, typename T_var, typename T_life> T *& TAO_Abstract_Manager<T,T_var,T_life>::out (void) { - if (*this->ptr_ != 0) - { - (*this->ptr_)->_remove_ref (); - } - + T_life::tao_release (*this->ptr_); *this->ptr_ = 0; return *this->ptr_; } |