summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_valuebox/cdr_op_cs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_valuebox/cdr_op_cs.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_valuebox/cdr_op_cs.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_valuebox/cdr_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_valuebox/cdr_op_cs.cpp
index 44534680d0e..3b4856930e5 100644
--- a/TAO/TAO_IDL/be/be_visitor_valuebox/cdr_op_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_valuebox/cdr_op_cs.cpp
@@ -46,11 +46,13 @@ be_visitor_valuebox_cdr_op_cs::visit_valuebox (be_valuebox *node)
}
TAO_OutStream *os = this->ctx_->stream ();
- node->cli_stub_cdr_op_gen (I_TRUE);
+ node->cli_stub_cdr_op_gen (true);
*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);
@@ -83,6 +85,7 @@ be_visitor_valuebox_cdr_op_cs::visit_valuebox (be_valuebox *node)
<< be_uidt_nl
<< "}" << be_nl << be_nl;
+ *os << be_global->core_versioning_end () << be_nl;
return 0;
}