diff options
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.cpp | 4 |
1 files changed, 4 insertions, 0 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 6c12a1dd7b1..59a621cf4b2 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 @@ -66,6 +66,8 @@ be_visitor_union_cdr_op_cs::visit_union (be_union *node) *os << be_nl << be_nl << "// TAO_IDL - Generated from" << be_nl << "// " << __FILE__ << ":" << __LINE__ << be_nl << be_nl; + *os << be_global->core_versioning_begin () << be_nl; + // Set the sub state as generating code for the output operator. this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_OUTPUT); @@ -203,6 +205,8 @@ be_visitor_union_cdr_op_cs::visit_union (be_union *node) << "return result;" << be_uidt_nl << "}"; + *os << be_global->core_versioning_end () << be_nl; + node->cli_stub_cdr_op_gen (1); return 0; } |