diff options
Diffstat (limited to 'TAO/tests/Collocation/Coll_Tester.cpp')
-rw-r--r-- | TAO/tests/Collocation/Coll_Tester.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/tests/Collocation/Coll_Tester.cpp b/TAO/tests/Collocation/Coll_Tester.cpp index 27ec77cf8fd..7e687b28019 100644 --- a/TAO/tests/Collocation/Coll_Tester.cpp +++ b/TAO/tests/Collocation/Coll_Tester.cpp @@ -33,7 +33,8 @@ Collocation_Test::init (int argc, char *argv[], CORBA::Environment &ACE_TRY_ENV) // Get an Object reference to RootPOA. CORBA::Object_var obj = - this->orb_->resolve_initial_references ("RootPOA"); + this->orb_->resolve_initial_references ("RootPOA", ACE_TRY_ENV); + ACE_CHECK_RETURN (-1); // Narrow the Object reference to a POA reference this->root_poa_ = |