diff options
Diffstat (limited to 'TAO/performance-tests/Throughput/Receiver.cpp')
-rw-r--r-- | TAO/performance-tests/Throughput/Receiver.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/TAO/performance-tests/Throughput/Receiver.cpp b/TAO/performance-tests/Throughput/Receiver.cpp index da9f6df9b71..05b0fe9a001 100644 --- a/TAO/performance-tests/Throughput/Receiver.cpp +++ b/TAO/performance-tests/Throughput/Receiver.cpp @@ -17,8 +17,8 @@ Receiver::Receiver (void) } void -Receiver::receive_data (const Test::Message &the_message, - CORBA::Environment &) +Receiver::receive_data (const Test::Message &the_message + TAO_ENV_ARG_DECL_NOT_USED) ACE_THROW_SPEC ((CORBA::SystemException)) { ACE_hrtime_t now = ACE_OS::gethrtime (); @@ -45,7 +45,7 @@ Receiver::receive_data (const Test::Message &the_message, } void -Receiver::done (CORBA::Environment &ACE_TRY_ENV) +Receiver::done (TAO_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { if (this->message_count_ == 0) @@ -87,12 +87,12 @@ Receiver::done (CORBA::Environment &ACE_TRY_ENV) ACE_TRY { - PortableServer::POA_var poa = this->_default_POA (ACE_TRY_ENV); + PortableServer::POA_var poa = this->_default_POA (TAO_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; PortableServer::ObjectId_var oid = - poa->servant_to_id (this, ACE_TRY_ENV); + poa->servant_to_id (this TAO_ENV_ARG_PARAMETER); ACE_TRY_CHECK; - poa->deactivate_object (oid.in (), ACE_TRY_ENV); + poa->deactivate_object (oid.in () TAO_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY {} ACE_ENDTRY; |