summaryrefslogtreecommitdiff
path: root/TAO/examples/AMH/Sink_Server/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/AMH/Sink_Server/client.cpp')
-rw-r--r--TAO/examples/AMH/Sink_Server/client.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/TAO/examples/AMH/Sink_Server/client.cpp b/TAO/examples/AMH/Sink_Server/client.cpp
index 49c698fd421..b729ebd49e9 100644
--- a/TAO/examples/AMH/Sink_Server/client.cpp
+++ b/TAO/examples/AMH/Sink_Server/client.cpp
@@ -130,15 +130,15 @@ Client_Task::narrow_servant (void)
ACE_TRY_NEW_ENV
{
CORBA::ORB_var orb =
- CORBA::ORB_init (this->argc_, this->argv_, "" TAO_ENV_ARG_PARAMETER);
+ CORBA::ORB_init (this->argc_, this->argv_, "" ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
CORBA::Object_var object =
- orb->string_to_object (this->ior_ TAO_ENV_ARG_PARAMETER);
+ orb->string_to_object (this->ior_ ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
this->roundtrip_ =
- Test::Roundtrip::_narrow (object.in () TAO_ENV_ARG_PARAMETER);
+ Test::Roundtrip::_narrow (object.in () ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
if (CORBA::is_nil (this->roundtrip_.in ()))
@@ -167,10 +167,10 @@ Client_Task::run_test (void)
ACE_TRY
{
test_start = ACE_OS::gethrtime ();
- this->roundtrip_->start_test (TAO_ENV_ARG_PARAMETER);
+ this->roundtrip_->start_test (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
this->svc ();
- this->roundtrip_->end_test (TAO_ENV_ARG_PARAMETER);
+ this->roundtrip_->end_test (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
test_end = ACE_OS::gethrtime ();
}
@@ -204,7 +204,7 @@ Client_Task::svc (void)
{
CORBA::ULongLong start = ACE_OS::gethrtime ();
- (void) this->roundtrip_->test_method (start TAO_ENV_ARG_PARAMETER);
+ (void) this->roundtrip_->test_method (start ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
ACE_hrtime_t now = ACE_OS::gethrtime ();