summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_typecode/union_typecode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_typecode/union_typecode.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_typecode/union_typecode.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_typecode/union_typecode.cpp b/TAO/TAO_IDL/be/be_visitor_typecode/union_typecode.cpp
index 4ed2f4d340a..d32a9d21b71 100644
--- a/TAO/TAO_IDL/be/be_visitor_typecode/union_typecode.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_typecode/union_typecode.cpp
@@ -60,9 +60,7 @@ TAO::be_visitor_union_typecode::visit_union (be_union * node)
TAO_OutStream & os = *this->ctx_->stream ();
- os << be_nl_2
- << "// TAO_IDL - Generated from" << be_nl
- << "// " << __FILE__ << ":" << __LINE__ << be_nl_2;
+ TAO_INSERT_COMMENT (&os);
be_type * const discriminant_type =
dynamic_cast<be_type*> (node->disc_type ());