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 | 14 |
1 files changed, 1 insertions, 13 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 8fc964ff1c4..6d5b615bf3f 100644 --- a/TAO/TAO_IDL/be/be_visitor_root/root_sth.cpp +++ b/TAO/TAO_IDL/be/be_visitor_root/root_sth.cpp @@ -137,13 +137,6 @@ be_visitor_root_sth::visit_module (be_module *node) // Generate the skeleton class name. - if (!node->is_nested ()) - { - // If the line below is not true, we don't want to - // see 'TAO_NAMESPACE' or anything in it. - *os << "#if defined (ACE_HAS_USING_KEYWORD)\n"; - } - os->indent (); // Now generate the class definition. The prefix POA_ is prepended to our @@ -174,12 +167,7 @@ be_visitor_root_sth::visit_module (be_module *node) os->decr_indent (); *os << "}" << be_nl << "TAO_NAMESPACE_CLOSE // module " - << node->name () << "\n"; - - if (!node->is_nested ()) - { - *os << "#endif /* ACE_HAS_USING_KEYWORD */\n"; - } + << node->name () << "\n\n"; return 0; } |