diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-21 00:06:31 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-21 00:06:31 +0000 |
commit | 4054f52dc388e638893612c6592576e3df636280 (patch) | |
tree | efaea8d71d4a79825cfd16b5637581fce6478469 /TAO/TAO_IDL/be/be_visitor_union_branch/private_ch.cpp | |
parent | c9e2eabda26126dee517301a484fffb915a4fa7d (diff) | |
download | ATCD-4054f52dc388e638893612c6592576e3df636280.tar.gz |
Reverted addition of has_constructor() call in compute_size_type() of
be_array and added it to be_field and be_typedef.
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_union_branch/private_ch.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_union_branch/private_ch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_union_branch/private_ch.cpp b/TAO/TAO_IDL/be/be_visitor_union_branch/private_ch.cpp index a1ace838bad..7686eb88d75 100644 --- a/TAO/TAO_IDL/be/be_visitor_union_branch/private_ch.cpp +++ b/TAO/TAO_IDL/be/be_visitor_union_branch/private_ch.cpp @@ -359,7 +359,7 @@ be_visitor_union_branch_private_ch::visit_structure (be_structure *node) os->indent (); // if we are variable sized, we need a pointer type - if (node->size_type () == be_type::VARIABLE + if (node->size_type () == be_decl::VARIABLE || node->has_constructor ()) { *os << bt->nested_type_name (bu) << " *" << ub->local_name () << "_;\n"; |