summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_structure.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_structure.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_structure.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_structure.cpp b/TAO/TAO_IDL/be/be_visitor_structure.cpp
index 6b20ba8c433..a988f291b24 100644
--- a/TAO/TAO_IDL/be/be_visitor_structure.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_structure.cpp
@@ -309,11 +309,14 @@ be_visitor_structure_any_op_ch::visit_structure (be_structure *node)
// generate the Any <<= and >>= operator declarations
os->indent ();
- *os << "void operator<<= (CORBA::Any &, const " << node->name ()
+ *os << "void " << idl_global->export_macro ()
+ << " operator<<= (CORBA::Any &, const " << node->name ()
<< " &); // copying version" << be_nl;
- *os << "void operator<<= (CORBA::Any &, " << node->name ()
+ *os << "void " << idl_global->export_macro ()
+ << " operator<<= (CORBA::Any &, " << node->name ()
<< "*); // noncopying version" << be_nl;
- *os << "CORBA::Boolean operator>>= (const CORBA::Any &, "
+ *os << "CORBA::Boolean " << idl_global->export_macro ()
+ << " operator>>= (const CORBA::Any &, "
<< node->name () << " *&);\n";