summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-09-15 02:56:52 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-09-15 02:56:52 +0000
commite21c8eb6c6fadd1e610e5f9c1144023faf7fedae (patch)
treef0fe209df35466dc410a12127e8cfdc078c0a5ad
parentad4338f908fc186692eb40f8ccf05d4c81b28243 (diff)
downloadATCD-e21c8eb6c6fadd1e610e5f9c1144023faf7fedae.tar.gz
*** empty log message ***
-rw-r--r--TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.cpp11
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