diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_operation/ami_handler_reply_stub_operation_cs.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_operation/ami_handler_reply_stub_operation_cs.cpp | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_reply_stub_operation_cs.cpp b/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_reply_stub_operation_cs.cpp index 3e319a41985..2adcb042740 100644 --- a/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_reply_stub_operation_cs.cpp +++ b/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_reply_stub_operation_cs.cpp @@ -226,22 +226,16 @@ be_visitor_operation_ami_handler_reply_stub_operation_cs::visit_operation (be_op *os << " ()" << be_uidt_nl << ");" << be_uidt_nl << be_nl; - *os << "Messaging::ExceptionHolder::_tao_seq_Octet *" - << "marshaled_exception_ptr = 0;" << be_nl - << "ACE_NEW (" << be_idt << be_idt_nl - << "marshaled_exception_ptr," << be_nl - << "Messaging::ExceptionHolder::_tao_seq_Octet (" + *os << "Messaging::ExceptionHolder::_tao_seq_Octet_var marshaled_exception_var =" + << be_idt_nl + << "new Messaging::ExceptionHolder::_marshaled_exception_seq (" << be_idt << be_idt_nl << "cdr->length (), // max" << be_nl << "cdr->length (), // length" << be_nl << "(unsigned char*) cdr->rd_ptr (), // data" << be_nl << "0 // release" << be_uidt_nl - << ");" << be_uidt << be_uidt_nl - << ");" << be_uidt_nl << be_nl - << "Messaging::ExceptionHolder::_tao_seq_Octet_var " - << "marshaled_exception_var =" << be_idt_nl - << "marshaled_exception_ptr;" << be_uidt_nl << be_nl + << ");" << be_uidt << be_uidt_nl << be_nl << "exception_holder_var->marshaled_exception (marshaled_exception_var.in ());" << be_nl << be_nl; |