summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-02-25 15:34:33 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-02-25 15:34:33 +0000
commit831012b887ab3afb3f45fb50ecc4cfcdf2606914 (patch)
tree8f8585555693f94536435820c65b1c221d0c8992
parenta960cf724ac8bc0a98aa6ff56e8ffce1fea38548 (diff)
downloadATCD-831012b887ab3afb3f45fb50ecc4cfcdf2606914.tar.gz
Removed typedef of foo_ptr - not part of spec.
-rw-r--r--TAO/TAO_IDL/be/be_visitor_structure/structure_ch.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_structure/structure_ch.cpp b/TAO/TAO_IDL/be/be_visitor_structure/structure_ch.cpp
index 1598e230442..fef518b3e7c 100644
--- a/TAO/TAO_IDL/be/be_visitor_structure/structure_ch.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_structure/structure_ch.cpp
@@ -53,9 +53,7 @@ int be_visitor_structure_ch::visit_structure (be_structure *node)
os->indent (); // start from whatever indentation level we were at
*os << "struct " << node->local_name () << ";" << be_nl;
- *os << "class " << node->local_name () << "_var;" << be_nl;
- *os << "typedef " << node->local_name () << "* "
- << node->local_name () << "_ptr;" << be_nl << be_nl;
+ *os << "class " << node->local_name () << "_var;" << be_nl << be_nl;
*os << "struct " << idl_global->stub_export_macro () << " "
<< node->local_name () << be_nl
@@ -65,8 +63,7 @@ int be_visitor_structure_ch::visit_structure (be_structure *node)
// but we must protect against certain versions of g++
*os << "#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)\n";
os->indent ();
- *os << "typedef " << node->local_name () << "_ptr _ptr_type;" << be_nl
- << "typedef " << node->local_name () << "_var _var_type;\n"
+ *os << "typedef " << node->local_name () << "_var _var_type;\n"
<< "#endif /* ! __GNUC__ || g++ >= 2.8 */\n\n";
// generate code for field members