summaryrefslogtreecommitdiff
path: root/TAO/tao/IIOP_Profile.cpp
diff options
context:
space:
mode:
authorbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-05-12 15:26:53 +0000
committerbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-05-12 15:26:53 +0000
commita9873a706fa6e21a8a35434ee817bcd1a8960629 (patch)
treee05e01070b4ee29cb7c26470c7e7509c2227c001 /TAO/tao/IIOP_Profile.cpp
parent8eed7a8a95ee9b00c5eaf001f03b6bb80103c28e (diff)
downloadATCD-a9873a706fa6e21a8a35434ee817bcd1a8960629.tar.gz
ChangeLogTag:Mon May 12 10:24:18 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/IIOP_Profile.cpp')
-rw-r--r--TAO/tao/IIOP_Profile.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/TAO/tao/IIOP_Profile.cpp b/TAO/tao/IIOP_Profile.cpp
index 62c8f740edf..3c04caae38e 100644
--- a/TAO/tao/IIOP_Profile.cpp
+++ b/TAO/tao/IIOP_Profile.cpp
@@ -198,10 +198,13 @@ TAO_IIOP_Profile::parse_string_i (const char *ior
this->endpoint_.host_ = CORBA::string_dup (tmp_host);
}
- TAO::ObjectKey &ok = ACE_const_cast (TAO::ObjectKey&,
- this->ref_object_key_->object_key ());
+ TAO::ObjectKey ok;
+
TAO::ObjectKey::decode_string_to_sequence (ok,
okd + 1);
+
+ (void) this->orb_core ()->object_key_table ().bind (ok,
+ this->ref_object_key_);
}
CORBA::Boolean