diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_argument/post_docall_cs.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_argument/post_docall_cs.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_argument/post_docall_cs.cpp b/TAO/TAO_IDL/be/be_visitor_argument/post_docall_cs.cpp index 9aa12d3295c..759051aa376 100644 --- a/TAO/TAO_IDL/be/be_visitor_argument/post_docall_cs.cpp +++ b/TAO/TAO_IDL/be/be_visitor_argument/post_docall_cs.cpp @@ -85,13 +85,12 @@ be_visitor_args_post_docall_cs::visit_interface (be_interface *node) switch (this->direction ()) { case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: { os->indent (); // assign the narrowed obj reference *os << arg->local_name () << " = " << node->name () << "::_narrow (_tao_base_" << arg->local_name () - << ", ACE_TRY_ENV);" << be_nl; + << ", _tao_environment);" << be_nl; *os << "CORBA::release (_tao_base_" << arg->local_name () << ");\n"; } @@ -118,7 +117,7 @@ be_visitor_args_post_docall_cs::visit_interface_fwd (be_interface_fwd *node) // assign the narrowed obj reference *os << arg->local_name () << " = " << node->name () << "::_narrow (_tao_base_" << arg->local_name () - << ", ACE_TRY_ENV);" << be_nl; + << ", _tao_environment);" << be_nl; *os << "CORBA::release (_tao_base_" << arg->local_name () << ");\n"; } |