diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_root/root_sth.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_root/root_sth.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_root/root_sth.cpp b/TAO/TAO_IDL/be/be_visitor_root/root_sth.cpp index adeb9b52f39..161541c8f94 100644 --- a/TAO/TAO_IDL/be/be_visitor_root/root_sth.cpp +++ b/TAO/TAO_IDL/be/be_visitor_root/root_sth.cpp @@ -124,17 +124,17 @@ be_visitor_root_sth::visit_module (be_module *node) // Now generate the class definition. The prefix POA_ is prepended to our // name only if we are the outermost module. - *os << "TAO_NAMESPACE "; + *os << "namespace "; if (node->is_nested ()) { // We are inside another module. - *os << " " << node->local_name () << be_nl; + *os << node->local_name () << be_nl; } else { // We are outermost module. - *os << " POA_" << node->local_name () << be_nl; + *os << "POA_" << node->local_name () << be_nl; } *os << "{" << be_idt; @@ -148,8 +148,7 @@ be_visitor_root_sth::visit_module (be_module *node) -1); } - *os << be_uidt_nl << "}" << be_nl << "TAO_NAMESPACE_CLOSE // module " - << node->name (); + *os << be_uidt_nl << "} // module " << node->name (); if (!node->is_nested ()) { |