summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_union/union_ch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_union/union_ch.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_union/union_ch.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_union/union_ch.cpp b/TAO/TAO_IDL/be/be_visitor_union/union_ch.cpp
index e2a13a2553f..6b7f6feb914 100644
--- a/TAO/TAO_IDL/be/be_visitor_union/union_ch.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_union/union_ch.cpp
@@ -58,9 +58,9 @@ int be_visitor_union_ch::visit_union (be_union *node)
os = this->ctx_->stream ();
// generate the ifdefined macro for the union type
- os->gen_ifdef_macro (node->flatname ());
+ os->gen_ifdef_macro (node->flat_name ());
os->indent (); // start with the current indentation level
- *os << "class " << idl_global->stub_export_macro () << " "
+ *os << "class " << idl_global->export_macro () << " "
<< node->local_name () << ": public TAO_Base_Union " << be_nl
<< "{" << be_nl
<< "public:" << be_idt_nl
@@ -199,7 +199,7 @@ int be_visitor_union_ch::visit_union (be_union *node)
os->gen_endif ();
// generate the ifdefined macro for the _var type
- os->gen_ifdef_macro (node->flatname (), "_var");
+ os->gen_ifdef_macro (node->flat_name (), "_var");
// generate var defn
if (node->gen_var_defn () == -1)
{
@@ -211,7 +211,7 @@ int be_visitor_union_ch::visit_union (be_union *node)
os->gen_endif ();
// generate the ifdefined macro for the array type
- os->gen_ifdef_macro (node->flatname (), "_out");
+ os->gen_ifdef_macro (node->flat_name (), "_out");
// a class is generated for an out defn only for a variable length struct
if (node->size_type () == be_decl::VARIABLE)
{