summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_operation/ami_exception_holder_operation_cs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_operation/ami_exception_holder_operation_cs.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/ami_exception_holder_operation_cs.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/ami_exception_holder_operation_cs.cpp b/TAO/TAO_IDL/be/be_visitor_operation/ami_exception_holder_operation_cs.cpp
index dc3271b3a40..6a9cf40648b 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/ami_exception_holder_operation_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/ami_exception_holder_operation_cs.cpp
@@ -44,7 +44,6 @@ be_visitor_operation_ami_exception_holder_operation_cs::visit_operation (
be_operation *node
)
{
-#if defined (TAO_HAS_DEPRECATED_EXCEPTION_HOLDER)
TAO_OutStream *os = this->ctx_->stream ();
this->ctx_->node (node);
@@ -205,12 +204,9 @@ be_visitor_operation_ami_exception_holder_operation_cs::visit_operation (
<< "this->marshaled_exception ().get_buffer ()," << be_nl
<< "this->marshaled_exception ().length ()," << be_nl
<< "this->byte_order ()," << be_nl
- << "this->is_system_exception ()" << env_arg
- << ");" << be_uidt << be_uidt_nl;
+ << "this->is_system_exception ()" << be_nl
+ << "ACE_ENV_ARG_PARAMETER);" << be_uidt << be_uidt_nl;
*os << "}\n\n";
-#else
- ACE_UNUSED_ARG (node);
-#endif
return 0;
}