summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_2174_Regression/test_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Bug_2174_Regression/test_i.cpp')
-rw-r--r--TAO/tests/Bug_2174_Regression/test_i.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/TAO/tests/Bug_2174_Regression/test_i.cpp b/TAO/tests/Bug_2174_Regression/test_i.cpp
index 9f1bd8537bc..8efe0fe94f0 100644
--- a/TAO/tests/Bug_2174_Regression/test_i.cpp
+++ b/TAO/tests/Bug_2174_Regression/test_i.cpp
@@ -14,8 +14,7 @@ Simple_Server_i::Simple_Server_i (CORBA::ORB_ptr orb)
CORBA::Long
Simple_Server_i::echo (CORBA::Long x,
- CORBA::Long msecs
- ACE_ENV_ARG_DECL_NOT_USED)
+ CORBA::Long msecs)
ACE_THROW_SPEC ((CORBA::SystemException))
{
ACE_Time_Value tv (msecs / 1000, (msecs % 1000) * 1000);
@@ -28,10 +27,10 @@ Simple_Server_i::echo (CORBA::Long x,
}
void
-Simple_Server_i::shutdown (ACE_ENV_SINGLE_ARG_DECL)
+Simple_Server_i::shutdown (void)
ACE_THROW_SPEC ((CORBA::SystemException))
{
ACE_DEBUG ((LM_DEBUG,
"server (%P) Received shutdown request from client\n"));
- this->orb_->shutdown (0 ACE_ENV_ARG_PARAMETER);
+ this->orb_->shutdown (0);
}