summaryrefslogtreecommitdiff
path: root/TAO/tests/Timeout/test_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Timeout/test_i.cpp')
-rw-r--r--TAO/tests/Timeout/test_i.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tests/Timeout/test_i.cpp b/TAO/tests/Timeout/test_i.cpp
index f51c48e0ad7..bbf564047ba 100644
--- a/TAO/tests/Timeout/test_i.cpp
+++ b/TAO/tests/Timeout/test_i.cpp
@@ -16,8 +16,8 @@ Simple_Server_i::Simple_Server_i (CORBA::ORB_ptr orb)
CORBA::Long
Simple_Server_i::echo (CORBA::Long x,
- CORBA::Long msecs,
- CORBA::Environment&)
+ CORBA::Long msecs
+ TAO_ENV_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException))
{
ACE_Time_Value tv (msecs / 1000, (msecs % 1000) * 1000);
@@ -30,10 +30,10 @@ Simple_Server_i::echo (CORBA::Long x,
}
void
-Simple_Server_i::shutdown (CORBA::Environment& ACE_TRY_ENV)
+Simple_Server_i::shutdown (TAO_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException))
{
ACE_DEBUG ((LM_DEBUG,
"server (%P) Received shutdown request from client\n"));
- this->orb_->shutdown (0, ACE_TRY_ENV);
+ this->orb_->shutdown (0 TAO_ENV_ARG_PARAMETER);
}