summaryrefslogtreecommitdiff
path: root/TAO/tests/Endpoint_Per_Priority/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Endpoint_Per_Priority/server.cpp')
-rw-r--r--TAO/tests/Endpoint_Per_Priority/server.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/TAO/tests/Endpoint_Per_Priority/server.cpp b/TAO/tests/Endpoint_Per_Priority/server.cpp
index 240e3bed138..8056dd92a48 100644
--- a/TAO/tests/Endpoint_Per_Priority/server.cpp
+++ b/TAO/tests/Endpoint_Per_Priority/server.cpp
@@ -89,9 +89,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"),