diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp b/TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp index 884bae78ca8..c0e0427d1ba 100644 --- a/TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp +++ b/TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp @@ -213,11 +213,9 @@ int be_visitor_exception_cs::visit_exception (be_exception *node) << node->name () << "::_tao_duplicate (void) const" << be_nl << "{" << be_idt_nl << "::CORBA::Exception *result = 0;" << be_nl - << "ACE_NEW_RETURN (" << be_idt << be_idt_nl - << "result," << be_nl - << "::" << node->name () << " (*this)," << be_nl - << "0);" << be_uidt - << be_uidt_nl + << "ACE_NEW_RETURN (result, " + << "::" << node->name () << " (*this), 0);" + << be_nl << "return result;" << be_uidt_nl << "}" << be_nl_2; |