diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-05-16 19:02:09 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-05-16 19:02:09 +0000 |
commit | 1248b20c7eac19514cd800e215622cd8b8c5b356 (patch) | |
tree | 27bb38ad8825b147d4313e15ba3c6126be6daf55 /TAO/TAO_IDL/be/be_visitor_union | |
parent | 89afc49c2673ad94e8cf6a01677a82300b1aa240 (diff) | |
download | ATCD-1248b20c7eac19514cd800e215622cd8b8c5b356.tar.gz |
ChangeLogTag: Wed May 16 13:53:39 2001 Jeff Parsons <parsons@cs.wustl.edu>
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_union')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_union/union_cs.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_union/union_cs.cpp b/TAO/TAO_IDL/be/be_visitor_union/union_cs.cpp index 4b30f6c6a58..7910e0133dc 100644 --- a/TAO/TAO_IDL/be/be_visitor_union/union_cs.cpp +++ b/TAO/TAO_IDL/be/be_visitor_union/union_cs.cpp @@ -196,10 +196,11 @@ int be_visitor_union_cs::visit_union (be_union *node) if (!node->is_local ()) *os << "void " - << node->name () << "::_tao_any_destructor (void *x)" << be_nl + << node->name () + << "::_tao_any_destructor (void *_tao_void_pointer)" << be_nl << "{" << be_idt_nl << node->local_name () << " *tmp = ACE_static_cast (" - << node->local_name () << "*,x);" << be_nl + << node->local_name () << "*, _tao_void_pointer);" << be_nl << "delete tmp;" << be_uidt_nl << "}\n" << be_nl; |