summaryrefslogtreecommitdiff
path: root/TAO/tests/DSI_Gateway/gateway.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/DSI_Gateway/gateway.cpp')
-rw-r--r--TAO/tests/DSI_Gateway/gateway.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/TAO/tests/DSI_Gateway/gateway.cpp b/TAO/tests/DSI_Gateway/gateway.cpp
index 439e3700fa5..db4dcfd39aa 100644
--- a/TAO/tests/DSI_Gateway/gateway.cpp
+++ b/TAO/tests/DSI_Gateway/gateway.cpp
@@ -62,8 +62,7 @@ main (int argc, char *argv[])
ACE_TRY_CHECK;
CORBA::Object_var poa_object =
- orb->resolve_initial_references("RootPOA", ACE_TRY_ENV);
- ACE_TRY_CHECK;
+ orb->resolve_initial_references("RootPOA");
if (CORBA::is_nil (poa_object.in ()))
ACE_ERROR_RETURN ((LM_ERROR,
" (%P|%t) Unable to initialize the POA.\n"),
@@ -131,8 +130,7 @@ main (int argc, char *argv[])
ACE_OS::fclose (output_file);
}
- orb->run (ACE_TRY_ENV);
- ACE_TRY_CHECK;
+ orb->run ();
ACE_DEBUG ((LM_DEBUG, "event loop finished\n"));
}