summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL
diff options
context:
space:
mode:
authorgokhale <asgokhale@users.noreply.github.com>1998-05-01 00:34:24 +0000
committergokhale <asgokhale@users.noreply.github.com>1998-05-01 00:34:24 +0000
commit12ed07f46ae19e233f8a140178afc88082a99066 (patch)
tree0cb7b09a2f205021624bd0546bdcb591162e745f /TAO/TAO_IDL
parentf8dd5d5fbab0d426a1511ec6df2b2bc912cfe442 (diff)
downloadATCD-12ed07f46ae19e233f8a140178afc88082a99066.tar.gz
*** empty log message ***
Diffstat (limited to 'TAO/TAO_IDL')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_interface.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_interface.cpp b/TAO/TAO_IDL/be/be_visitor_interface.cpp
index 17a52736dfd..641dc07eb5f 100644
--- a/TAO/TAO_IDL/be/be_visitor_interface.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_interface.cpp
@@ -1017,8 +1017,9 @@ be_visitor_interface_cs::visit_interface (be_interface *node)
<< "_tao_elem = " << node->name () << "::_narrow (_tao_obj, _tao_env);"
<< be_nl
<< "CORBA::release (_tao_obj);" << be_nl
+ << "_tao_obj = _tao_elem;" << be_nl
<< "((CORBA::Any *)&_tao_any)->replace (_tao_any.type (), "
- << "&_tao_elem, 1, _tao_env);"
+ << "&_tao_obj, 1, _tao_env);"
<< be_nl
<< "if (_tao_env.exception ()) return 0; // narrow failed" << be_uidt_nl
<< "}" << be_nl