summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/PICurrent/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Portable_Interceptors/PICurrent/client.cpp')
-rw-r--r--TAO/tests/Portable_Interceptors/PICurrent/client.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/TAO/tests/Portable_Interceptors/PICurrent/client.cpp b/TAO/tests/Portable_Interceptors/PICurrent/client.cpp
index 5a88a5bb0cc..9baf7a31f3c 100644
--- a/TAO/tests/Portable_Interceptors/PICurrent/client.cpp
+++ b/TAO/tests/Portable_Interceptors/PICurrent/client.cpp
@@ -37,7 +37,7 @@ parse_args (int argc, char *argv[])
int
main (int argc, char *argv[])
{
- TAO_ENV_DECLARE_NEW_ENV;
+ ACE_DECLARE_NEW_CORBA_ENV;
ACE_TRY
{
#if 0
@@ -51,23 +51,23 @@ main (int argc, char *argv[])
temp_initializer;
PortableInterceptor::register_orb_initializer (orb_initializer.in ()
- TAO_ENV_ARG_PARAMETER);
+ ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
#endif /* 0 */
CORBA::ORB_var orb =
- CORBA::ORB_init (argc, argv, "client_orb" TAO_ENV_ARG_PARAMETER);
+ CORBA::ORB_init (argc, argv, "client_orb" ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
if (parse_args (argc, argv) != 0)
return 1;
CORBA::Object_var obj =
- orb->string_to_object (ior TAO_ENV_ARG_PARAMETER);
+ orb->string_to_object (ior ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
PICurrentTest::test_var server =
- PICurrentTest::test::_narrow (obj.in () TAO_ENV_ARG_PARAMETER);
+ PICurrentTest::test::_narrow (obj.in () ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
if (CORBA::is_nil (server.in ()))
@@ -78,10 +78,10 @@ main (int argc, char *argv[])
1);
}
- server->invoke_me (TAO_ENV_SINGLE_ARG_PARAMETER);
+ server->invoke_me (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
- server->shutdown (TAO_ENV_SINGLE_ARG_PARAMETER);
+ server->shutdown (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
}
ACE_CATCHANY