summaryrefslogtreecommitdiff
path: root/TAO/examples/Simple/time/Time_Client_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Simple/time/Time_Client_i.cpp')
-rw-r--r--TAO/examples/Simple/time/Time_Client_i.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/TAO/examples/Simple/time/Time_Client_i.cpp b/TAO/examples/Simple/time/Time_Client_i.cpp
index 7037fd5c5c1..9b7f5dc6473 100644
--- a/TAO/examples/Simple/time/Time_Client_i.cpp
+++ b/TAO/examples/Simple/time/Time_Client_i.cpp
@@ -25,9 +25,7 @@ Time_Client_i::run (char *name,
if (client.init (name, argc, argv) == -1)
return -1;
- ACE_DECLARE_NEW_CORBA_ENV;
-
- ACE_TRY
+ ACE_TRY_NEW_ENV
{
//Make the RMI.
CORBA::Long timedate = client->time (ACE_TRY_ENV);