summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_union_branch/public_ch.cpp
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-05-06 02:31:57 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-05-06 02:31:57 +0000
commitfdfeb2c08daa9174936fff6c16dcf82db935c40f (patch)
treeebe11f80690ba23e737c3a7bb969ba0fa5402404 /TAO/TAO_IDL/be/be_visitor_union_branch/public_ch.cpp
parentfb3db1d484653183d521ed4ccffc807520e3c3d5 (diff)
downloadATCD-fdfeb2c08daa9174936fff6c16dcf82db935c40f.tar.gz
ChangeLogTag: Mon May 5 21:24:36 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_union_branch/public_ch.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_union_branch/public_ch.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_union_branch/public_ch.cpp b/TAO/TAO_IDL/be/be_visitor_union_branch/public_ch.cpp
index d9e3c7d98d1..e37fbea8564 100644
--- a/TAO/TAO_IDL/be/be_visitor_union_branch/public_ch.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_union_branch/public_ch.cpp
@@ -420,14 +420,14 @@ be_visitor_union_branch_public_ch::visit_predefined_type (be_predefined_type *no
case AST_PredefinedType::PT_pseudo:
case AST_PredefinedType::PT_object:
*os << be_nl << be_nl
- << "void " << ub->local_name () << " ("
+ << "void " << ub->local_name () << " (const "
<< bt->nested_type_name (bu, "_ptr") << ");" << be_nl;
*os << bt->nested_type_name (bu, "_ptr") << " " << ub->local_name ()
<< " (void) const;";
break;
case AST_PredefinedType::PT_any:
*os << be_nl << be_nl
- << "void " << ub->local_name () << " ("
+ << "void " << ub->local_name () << " (const "
<< bt->nested_type_name (bu) << " &);" << be_nl;
*os << "const " << bt->nested_type_name (bu) << " &"
<< ub->local_name () << " (void) const;" << be_nl;