summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_structure/cdr_op_cs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_structure/cdr_op_cs.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_structure/cdr_op_cs.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_structure/cdr_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_structure/cdr_op_cs.cpp
index 73841a9b18e..2463764b749 100644
--- a/TAO/TAO_IDL/be/be_visitor_structure/cdr_op_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_structure/cdr_op_cs.cpp
@@ -60,6 +60,8 @@ be_visitor_structure_cdr_op_cs::visit_structure (be_structure *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);
@@ -135,7 +137,9 @@ be_visitor_structure_cdr_op_cs::visit_structure (be_structure *node)
*os << be_uidt_nl << "}";
- node->cli_stub_cdr_op_gen (I_TRUE);
+ *os << be_global->core_versioning_end () << be_nl;
+
+ node->cli_stub_cdr_op_gen (true);
return 0;
}