summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_union/cdr_op_cs.cpp
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-06-27 09:21:28 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-06-27 09:21:28 +0000
commit78099acaa00a6736a69a932270a809fc86797f7c (patch)
tree7e26d2b1409e28435be6a58ad2f0c978cf608ac1 /TAO/TAO_IDL/be/be_visitor_union/cdr_op_cs.cpp
parent0daf5eb789c7b5abfc2ab2dfd1e7674d476f4e0e (diff)
downloadATCD-78099acaa00a6736a69a932270a809fc86797f7c.tar.gz
ChangeLogTag: Wed Jun 27 09:10:21 UTC 2007 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_union/cdr_op_cs.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_union/cdr_op_cs.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_union/cdr_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_union/cdr_op_cs.cpp
index 59a621cf4b2..a23e0430275 100644
--- a/TAO/TAO_IDL/be/be_visitor_union/cdr_op_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_union/cdr_op_cs.cpp
@@ -203,7 +203,12 @@ be_visitor_union_cdr_op_cs::visit_union (be_union *node)
*os << be_uidt_nl
<< "}" << be_nl << be_nl
<< "return result;" << be_uidt_nl
- << "}";
+ << "}" << be_nl;
+
+ if (be_global->gen_ostream_operators ())
+ {
+ node->gen_ostream_operator (os);
+ }
*os << be_global->core_versioning_end () << be_nl;