summaryrefslogtreecommitdiff
path: root/TAO/examples/POA/RootPOA/RootPOA.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/POA/RootPOA/RootPOA.cpp')
-rw-r--r--TAO/examples/POA/RootPOA/RootPOA.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/TAO/examples/POA/RootPOA/RootPOA.cpp b/TAO/examples/POA/RootPOA/RootPOA.cpp
index f2a5382636d..53730bb4bab 100644
--- a/TAO/examples/POA/RootPOA/RootPOA.cpp
+++ b/TAO/examples/POA/RootPOA/RootPOA.cpp
@@ -36,8 +36,7 @@ main (int argc, char **argv)
// Resolve the initial references for the name RootPOA thus getting
// an object of type CORBA::Object.
CORBA::Object_var obj =
- orb->resolve_initial_references ("RootPOA", ACE_TRY_ENV);
- ACE_TRY_CHECK;
+ orb->resolve_initial_references ("RootPOA");
// apply _narrow on the object of type CORBA::Object, to make it a
// POA class Object.