summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_exception/exception_ch.cpp
diff options
context:
space:
mode:
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.cpp6
1 files changed, 4 insertions, 2 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 7741845e7b4..dea21701546 100644
--- a/TAO/TAO_IDL/be/be_visitor_exception/exception_ch.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_exception/exception_ch.cpp
@@ -99,10 +99,12 @@ int be_visitor_exception_ch::visit_exception (be_exception *node)
<< "_tao_duplicate (void) const;\n" << be_nl
<< "virtual void _raise (void) const;\n" << be_nl
<< "virtual void _tao_encode (" << be_idt << be_idt_nl
- << "TAO_OutputCDR &" << env_decl << be_uidt_nl
+ << "TAO_OutputCDR &" << be_nl
+ << "ACE_ENV_ARG_DECL" << be_uidt_nl
<< ") const;" << be_uidt_nl << be_nl
<< "virtual void _tao_decode (" << be_idt << be_idt_nl
- << "TAO_InputCDR &" << env_decl << be_uidt_nl
+ << "TAO_InputCDR &" << be_nl
+ << "ACE_ENV_ARG_DECL" << be_uidt_nl
<< ");" << be_uidt;
// Generate constructor that takes each member as a parameter. We need a