summaryrefslogtreecommitdiff
path: root/TAO/tao/CORBALOC_Parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/CORBALOC_Parser.cpp')
-rw-r--r--TAO/tao/CORBALOC_Parser.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/TAO/tao/CORBALOC_Parser.cpp b/TAO/tao/CORBALOC_Parser.cpp
index 1a0092b2f35..639d2965487 100644
--- a/TAO/tao/CORBALOC_Parser.cpp
+++ b/TAO/tao/CORBALOC_Parser.cpp
@@ -256,11 +256,14 @@ TAO_CORBALOC_Parser::parse_string_mprofile_helper (
{
TAO_MProfile jth_mprofile;
+ TAO_Connector_Registry *conn_reg =
+ orb->orb_core ()->connector_registry (ACE_ENV_SINGLE_ARG_PARAMETER);
+ ACE_CHECK;
+
int retv =
- orb->orb_core ()->connector_registry ()->make_mprofile (
- end_point,
- jth_mprofile
- ACE_ENV_ARG_PARAMETER);
+ conn_reg->make_mprofile (end_point,
+ jth_mprofile
+ ACE_ENV_ARG_PARAMETER);
ACE_CHECK;
if (retv != 0)