summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_structure/any_op_cs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_structure/any_op_cs.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_structure/any_op_cs.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_structure/any_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_structure/any_op_cs.cpp
index bbb3250ab5f..ec9ee323817 100644
--- a/TAO/TAO_IDL/be/be_visitor_structure/any_op_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_structure/any_op_cs.cpp
@@ -53,6 +53,8 @@ be_visitor_structure_any_op_cs::visit_structure (be_structure *node)
<< "// TAO_IDL - Generated from " << be_nl
<< "// " << __FILE__ << ":" << __LINE__ << be_nl << be_nl;
+ *os << be_global->core_versioning_begin () << be_nl;
+
// Since we don't generate CDR stream operators for types that
// explicitly contain a local interface (at some level), we
// must override these Any template class methods to avoid
@@ -150,6 +152,8 @@ be_visitor_structure_any_op_cs::visit_structure (be_structure *node)
<< ");" << be_uidt << be_uidt << be_uidt_nl
<< "}";
+ *os << be_global->core_versioning_end () << be_nl;
+
// all we have to do is to visit the scope and generate code
if (this->visit_scope (node) == -1)
{