summaryrefslogtreecommitdiff
path: root/TAO/tests/MT_Timeout/Sleep_Service.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/MT_Timeout/Sleep_Service.cpp')
-rw-r--r--TAO/tests/MT_Timeout/Sleep_Service.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tests/MT_Timeout/Sleep_Service.cpp b/TAO/tests/MT_Timeout/Sleep_Service.cpp
index bd0aaa8e853..0650e317c9e 100644
--- a/TAO/tests/MT_Timeout/Sleep_Service.cpp
+++ b/TAO/tests/MT_Timeout/Sleep_Service.cpp
@@ -11,8 +11,8 @@ Sleep_Service::Sleep_Service (CORBA::ORB_ptr orb)
}
void
-Sleep_Service::go_to_sleep (CORBA::ULong microseconds,
- CORBA::Environment &)
+Sleep_Service::go_to_sleep (CORBA::ULong microseconds
+ TAO_ENV_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException))
{
CORBA::ULong secs = microseconds / 1000000;
@@ -23,9 +23,9 @@ Sleep_Service::go_to_sleep (CORBA::ULong microseconds,
}
void
-Sleep_Service::shutdown (CORBA::Environment &ACE_TRY_ENV)
+Sleep_Service::shutdown (TAO_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException))
{
ACE_DEBUG ((LM_DEBUG, "Shutting down the ORB\n"));
- this->orb_->shutdown (0, ACE_TRY_ENV);
+ this->orb_->shutdown (0 TAO_ENV_ARG_PARAMETER);
}