diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-15 02:56:52 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-15 02:56:52 +0000 |
commit | e21c8eb6c6fadd1e610e5f9c1144023faf7fedae (patch) | |
tree | f0fe209df35466dc410a12127e8cfdc078c0a5ad | |
parent | ad4338f908fc186692eb40f8ccf05d4c81b28243 (diff) | |
download | ATCD-e21c8eb6c6fadd1e610e5f9c1144023faf7fedae.tar.gz |
*** empty log message ***
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.cpp b/TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.cpp index 45fd8452f19..d79f44d8ed2 100644 --- a/TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.cpp +++ b/TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.cpp @@ -158,13 +158,16 @@ TAO_Naming_Server::init_new_naming (CORBA::ORB_ptr orb, { // Get the naming context ptr to NameService and register // with the POA. + this->naming_context_ = + this->naming_context_impl_._this (TAO_TRY_ENV); + TAO_CHECK_ENV; + PortableServer::ObjectId_var id = PortableServer::string_to_ObjectId ("NameService"); - this->naming_context_ = - child_poa->activate_object_with_id (id.in (), - &this->naming_context_impl_, - TAO_TRY_ENV); + child_poa->activate_object_with_id (id.in (), + &this->naming_context_impl_, + TAO_TRY_ENV); TAO_CHECK_ENV; // Stringify the objref we'll be implementing, and print it |