diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_constant/constant_cs.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_constant/constant_cs.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_constant/constant_cs.cpp b/TAO/TAO_IDL/be/be_visitor_constant/constant_cs.cpp index d60696b0bd3..455e55432bf 100644 --- a/TAO/TAO_IDL/be/be_visitor_constant/constant_cs.cpp +++ b/TAO/TAO_IDL/be/be_visitor_constant/constant_cs.cpp @@ -94,8 +94,8 @@ be_visitor_constant_cs::gen_nested_namespace_begin (be_module *node) if (ACE_OS::strcmp (item_name, "") != 0) { // leave the outermost root scope. - *os << "TAO_NAMESPACE_BEGIN (" << item_name - << ")" << be_nl; + *os << "namespace " << item_name << be_nl + << "{" << be_nl; } } @@ -114,7 +114,7 @@ be_visitor_constant_cs::gen_nested_namespace_end (be_module *node) if (ACE_OS::strcmp (i.item ()->get_string (), "") != 0) { // leave the outermost root scope. - *os << "TAO_NAMESPACE_END" << be_nl; + *os << "}" << be_nl; } } |