summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_operation/ami_cs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_operation/ami_cs.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/ami_cs.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/ami_cs.cpp b/TAO/TAO_IDL/be/be_visitor_operation/ami_cs.cpp
index b2a7ba8f0f6..3b315ed6045 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/ami_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/ami_cs.cpp
@@ -176,7 +176,7 @@ be_visitor_operation_ami_cs::visit_operation (be_operation *node)
<< "TAO::Arg_Traits<void>::ret_val _tao_retval;";
// Declare the argument helper classes.
- this->gen_stub_body_arglist (ami_op, os, true);
+ this->gen_stub_body_arglist (ami_op, os, I_TRUE);
// Assemble the arg helper class pointer array.
*os << be_nl << be_nl
@@ -255,9 +255,10 @@ be_visitor_operation_ami_cs::visit_operation (be_operation *node)
*os << "AMI_" << parent->local_name () << "Handler::"
<< opname.fast_rep () + (this->ctx_->attribute () != 0)
- << "_reply_stub" << env_arg << be_uidt_nl
- << ");" << be_uidt
- << TAO_ACE_CHECK ();
+ << "_reply_stub" << be_nl
+ << "ACE_ENV_ARG_PARAMETER" << be_uidt_nl
+ << ");" << be_uidt_nl
+ << "ACE_CHECK;";
*os << be_uidt_nl
<< "}";