diff options
Diffstat (limited to 'TAO/performance-tests/POA/Implicit_Activation/Simple.cpp')
-rw-r--r-- | TAO/performance-tests/POA/Implicit_Activation/Simple.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/TAO/performance-tests/POA/Implicit_Activation/Simple.cpp b/TAO/performance-tests/POA/Implicit_Activation/Simple.cpp index f15b8b826ff..6fabe5ff9e2 100644 --- a/TAO/performance-tests/POA/Implicit_Activation/Simple.cpp +++ b/TAO/performance-tests/POA/Implicit_Activation/Simple.cpp @@ -10,16 +10,13 @@ Simple::Simple (void) } void -Simple::destroy (ACE_ENV_SINGLE_ARG_DECL) +Simple::destroy (void) ACE_THROW_SPEC ((CORBA::SystemException)) { - PortableServer::POA_var poa = this->_default_POA (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; + PortableServer::POA_var poa = this->_default_POA (); PortableServer::ObjectId_var oid = - poa->servant_to_id (this ACE_ENV_ARG_PARAMETER); - ACE_CHECK; + poa->servant_to_id (this); - poa->deactivate_object (oid.in () ACE_ENV_ARG_PARAMETER); - ACE_CHECK; + poa->deactivate_object (oid.in ()); } |