summaryrefslogtreecommitdiff
path: root/TAO/tao/CORBALOC_Parser.cpp
diff options
context:
space:
mode:
authorjohn_c <john_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-04-28 03:50:28 +0000
committerjohn_c <john_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-04-28 03:50:28 +0000
commit88556d568eb0a06bf8af2ddefacbc1ad5f00401e (patch)
tree72f4a0e33b9dd26d1783ff005d67494bfb79a9de /TAO/tao/CORBALOC_Parser.cpp
parent317d8c1ce78436f0107f056418c0c5f5b4231069 (diff)
downloadATCD-oci_dave_wchar_refactor_branch.tar.gz
4_27_06 branch merge in and compile error fixedoci_dave_wchar_refactor_branch
Diffstat (limited to 'TAO/tao/CORBALOC_Parser.cpp')
-rw-r--r--TAO/tao/CORBALOC_Parser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/tao/CORBALOC_Parser.cpp b/TAO/tao/CORBALOC_Parser.cpp
index 2dda9784489..92369055416 100644
--- a/TAO/tao/CORBALOC_Parser.cpp
+++ b/TAO/tao/CORBALOC_Parser.cpp
@@ -233,7 +233,8 @@ TAO_CORBALOC_Parser::parse_string (const char * ior,
const char * str = full_ep.c_str();
endpoints[i].profile_->parse_string (str ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (CORBA::Object::_nil ());
- if (mprofile.give_profile(endpoints[i].profile_) != -1)
+ int share = orb->orb_core()->orb_params()->shared_profile();
+ if (mprofile.give_profile(endpoints[i].profile_, share) != -1)
endpoints[i].profile_ = 0;
else
{