diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_exception/exception_ch.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_exception/exception_ch.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_exception/exception_ch.cpp b/TAO/TAO_IDL/be/be_visitor_exception/exception_ch.cpp index f5bd68ac4ca..34394aa35ac 100644 --- a/TAO/TAO_IDL/be/be_visitor_exception/exception_ch.cpp +++ b/TAO/TAO_IDL/be/be_visitor_exception/exception_ch.cpp @@ -53,7 +53,7 @@ int be_visitor_exception_ch::visit_exception (be_exception *node) *os << "class " << be_global->stub_export_macro () << " " << node->local_name () << " : public CORBA::UserException" << be_nl; - *os << "{" << be_nl + *os << "{" << be_nl << "public:" << be_idt_nl; // Generate code for field members. @@ -85,12 +85,12 @@ int be_visitor_exception_ch::visit_exception (be_exception *node) *os << "virtual void _raise (void);\n" << be_nl << "virtual void _tao_encode (" << be_idt << be_idt_nl - << "TAO_OutputCDR &," << be_nl - << "CORBA::Environment &" << be_uidt_nl + << "TAO_OutputCDR &" << be_nl + << "TAO_ENV_ARG_DECL_NOT_USED" << be_uidt_nl << ") const;" << be_uidt_nl << be_nl << "virtual void _tao_decode (" << be_idt << be_idt_nl - << "TAO_InputCDR &," << be_nl - << "CORBA::Environment &" << be_uidt_nl + << "TAO_InputCDR &" << be_nl + << "TAO_ENV_ARG_DECL_NOT_USED" << be_uidt_nl << ");" << be_uidt_nl << be_nl << "static " << node->local_name () << " *_downcast (CORBA::Exception *);\n\n"; |