diff options
Diffstat (limited to 'TAO/tao/PortableServer/PolicyS_T.i')
-rw-r--r-- | TAO/tao/PortableServer/PolicyS_T.i | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/TAO/tao/PortableServer/PolicyS_T.i b/TAO/tao/PortableServer/PolicyS_T.i index 8834615050c..dcaca13efb5 100644 --- a/TAO/tao/PortableServer/PolicyS_T.i +++ b/TAO/tao/PortableServer/PolicyS_T.i @@ -23,30 +23,30 @@ template <class T> ACE_INLINE POA_CORBA_Policy_tie<T>::POA_CORBA_Policy_tie (T &t) - : ptr_ (&t), - poa_ (PortableServer::POA::_nil ()), - rel_ (0) + : ptr_ (&t), + poa_ (PortableServer::POA::_nil ()), + rel_ (0) {} template <class T> ACE_INLINE POA_CORBA_Policy_tie<T>::POA_CORBA_Policy_tie (T &t, PortableServer::POA_ptr poa) - : ptr_ (&t), - poa_ (PortableServer::POA::_duplicate (poa)), - rel_ (0) + : ptr_ (&t), + poa_ (PortableServer::POA::_duplicate (poa)), + rel_ (0) {} template <class T> ACE_INLINE POA_CORBA_Policy_tie<T>::POA_CORBA_Policy_tie (T *tp, CORBA::Boolean release) - : ptr_ (tp), - poa_ (PortableServer::POA::_nil ()), - rel_ (release) + : ptr_ (tp), + poa_ (PortableServer::POA::_nil ()), + rel_ (release) {} template <class T> ACE_INLINE POA_CORBA_Policy_tie<T>::POA_CORBA_Policy_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release) - : ptr_ (tp), - poa_ (PortableServer::POA::_duplicate (poa)), - rel_ (release) + : ptr_ (tp), + poa_ (PortableServer::POA::_duplicate (poa)), + rel_ (release) {} template <class T> ACE_INLINE @@ -90,50 +90,50 @@ POA_CORBA_Policy_tie<T>::_is_owner (CORBA::Boolean b) } template <class T> ACE_INLINE PortableServer::POA_ptr -POA_CORBA_Policy_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV) +POA_CORBA_Policy_tie<T>::_default_POA (TAO_ENV_SINGLE_ARG_DECL) { if (!CORBA::is_nil (this->poa_.in ())) return PortableServer::POA::_duplicate (this->poa_.in ()); - return this->POA_CORBA_Policy::_default_POA (ACE_TRY_ENV); + return this->POA_CORBA_Policy::_default_POA (TAO_ENV_SINGLE_ARG_PARAMETER); } template <class T> ACE_INLINE CORBA::PolicyType POA_CORBA_Policy_tie<T>::policy_type ( - CORBA::Environment &ACE_TRY_ENV + TAO_ENV_SINGLE_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { return this->ptr_->policy_type ( -ACE_TRY_ENV +TAO_ENV_ARG_SINGLE_PARAMETER ); } template <class T> ACE_INLINE CORBA::Policy_ptr POA_CORBA_Policy_tie<T>::copy ( - CORBA::Environment &ACE_TRY_ENV + TAO_ENV_SINGLE_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { return this->ptr_->copy ( -ACE_TRY_ENV +TAO_ENV_SINGLE_ARG_PARAMETER ); } template <class T> ACE_INLINE void POA_CORBA_Policy_tie<T>::destroy ( - CORBA::Environment &ACE_TRY_ENV + TAO_ENV_SINGLE_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { this->ptr_->destroy ( -ACE_TRY_ENV +TAO_ENV_SINGLE_ARG_PARAMETER ); } |