diff options
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.cpp | 6 |
1 files changed, 4 insertions, 2 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 4bb2b636776..f84e4540c05 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 @@ -163,8 +163,10 @@ be_visitor_operation_ami_exception_holder_operation_cs::visit_operation ( *os << "{" << be_idt_nl << "\"" << ex->repoID () << "\"," << be_nl; // Allocator method. - *os << ex->name () << "::_alloc," << be_nl - << ex->tc_name () << be_uidt_nl + *os << ex->name () << "::_alloc," + << "\n#if TAO_HAS_INTERCEPTORS == 1" << be_nl + << ", " << ex->tc_name () + << "\n#endif /* TAO_HAS_INTERCEPTORS */" << be_uidt_nl << "}"; ++excep_count; |