diff options
Diffstat (limited to 'TAO/tests/Reliable_Oneways/Oneway_Receiver.cpp')
-rw-r--r-- | TAO/tests/Reliable_Oneways/Oneway_Receiver.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/TAO/tests/Reliable_Oneways/Oneway_Receiver.cpp b/TAO/tests/Reliable_Oneways/Oneway_Receiver.cpp index d737813d0a6..0de4f50137e 100644 --- a/TAO/tests/Reliable_Oneways/Oneway_Receiver.cpp +++ b/TAO/tests/Reliable_Oneways/Oneway_Receiver.cpp @@ -12,29 +12,29 @@ Oneway_Receiver::Oneway_Receiver (CORBA::ORB_ptr orb) } void -Oneway_Receiver::raise_no_permission (CORBA::Environment &ACE_TRY_ENV) +Oneway_Receiver::raise_no_permission (TAO_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { ACE_THROW (CORBA::NO_PERMISSION ()); } void -Oneway_Receiver::destroy (CORBA::Environment &ACE_TRY_ENV) +Oneway_Receiver::destroy (TAO_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { - PortableServer::POA_var poa = this->_default_POA (ACE_TRY_ENV); + PortableServer::POA_var poa = this->_default_POA (TAO_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK; PortableServer::ObjectId_var id = - poa->servant_to_id (this, ACE_TRY_ENV); + poa->servant_to_id (this TAO_ENV_ARG_PARAMETER); ACE_CHECK; - poa->deactivate_object (id.in (), ACE_TRY_ENV); + poa->deactivate_object (id.in () TAO_ENV_ARG_PARAMETER); ACE_CHECK; } Test::Shutdown_Helper_ptr -Oneway_Receiver::get_shutdown_helper (CORBA::Environment &ACE_TRY_ENV) +Oneway_Receiver::get_shutdown_helper (TAO_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { Shutdown_Helper *shutdown_helper; @@ -45,5 +45,5 @@ Oneway_Receiver::get_shutdown_helper (CORBA::Environment &ACE_TRY_ENV) PortableServer::ServantBase_var transfer_ownership(shutdown_helper); - return shutdown_helper->_this (ACE_TRY_ENV); + return shutdown_helper->_this (TAO_ENV_SINGLE_ARG_PARAMETER); } |