summaryrefslogtreecommitdiff
path: root/TAO/tao/Pseudo_VarOut_T.inl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Pseudo_VarOut_T.inl')
-rw-r--r--TAO/tao/Pseudo_VarOut_T.inl18
1 files changed, 11 insertions, 7 deletions
diff --git a/TAO/tao/Pseudo_VarOut_T.inl b/TAO/tao/Pseudo_VarOut_T.inl
index 7baddc74b88..cf2df832afc 100644
--- a/TAO/tao/Pseudo_VarOut_T.inl
+++ b/TAO/tao/Pseudo_VarOut_T.inl
@@ -2,6 +2,8 @@
//
// $Id$
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
template <typename T>
ACE_INLINE
TAO_Pseudo_Var_T<T>::TAO_Pseudo_Var_T (void)
@@ -25,7 +27,7 @@ template <typename T>
ACE_INLINE
TAO_Pseudo_Var_T<T>::~TAO_Pseudo_Var_T (void)
{
- CORBA::release (this->ptr_);
+ ::CORBA::release (this->ptr_);
}
template <typename T>
@@ -33,7 +35,7 @@ ACE_INLINE
TAO_Pseudo_Var_T<T> &
TAO_Pseudo_Var_T<T>::operator= (T * p)
{
- CORBA::release (this->ptr_);
+ ::CORBA::release (this->ptr_);
this->ptr_ = p;
return *this;
}
@@ -81,7 +83,7 @@ ACE_INLINE
T *&
TAO_Pseudo_Var_T<T>::out (void)
{
- CORBA::release (this->ptr_);
+ ::CORBA::release (this->ptr_);
this->ptr_ = T::_nil ();
return this->ptr_;
}
@@ -119,7 +121,7 @@ ACE_INLINE
TAO_Pseudo_Out_T<T,T_var>::TAO_Pseudo_Out_T (T_var & p)
: ptr_ (p.out ())
{
- CORBA::release (this->ptr_);
+ ::CORBA::release (this->ptr_);
this->ptr_ = T::_nil ();
}
@@ -151,15 +153,15 @@ TAO_Pseudo_Out_T<T,T_var>::operator= (T * p)
template <typename T, typename T_var>
ACE_INLINE
-TAO_Pseudo_Out_T<T,T_var>::operator T *& ()
+T *&
+TAO_Pseudo_Out_T<T,T_var>::ptr (void)
{
return this->ptr_;
}
template <typename T, typename T_var>
ACE_INLINE
-T *&
-TAO_Pseudo_Out_T<T,T_var>::ptr (void)
+TAO_Pseudo_Out_T<T,T_var>::operator T *& ()
{
return this->ptr_;
}
@@ -171,3 +173,5 @@ TAO_Pseudo_Out_T<T,T_var>::operator-> (void)
{
return this->ptr_;
}
+
+TAO_END_VERSIONED_NAMESPACE_DECL