summaryrefslogtreecommitdiff
path: root/TAO/examples/Simple/echo/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Simple/echo/server.cpp')
-rw-r--r--TAO/examples/Simple/echo/server.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/TAO/examples/Simple/echo/server.cpp b/TAO/examples/Simple/echo/server.cpp
index e8100524fae..8bf82088ef7 100644
--- a/TAO/examples/Simple/echo/server.cpp
+++ b/TAO/examples/Simple/echo/server.cpp
@@ -12,9 +12,7 @@ main (int argc, char *argv[])
ACE_DEBUG ((LM_DEBUG,
"\n\tEcho server\n\n"));
- ACE_DECLARE_NEW_CORBA_ENV;
-
- ACE_TRY
+ ACE_TRY_NEW_ENV
{
if (server.init ("Echo",
argc,