diff options
Diffstat (limited to 'TAO/TAO_IDL/fe/fe_declarator.cpp')
-rw-r--r-- | TAO/TAO_IDL/fe/fe_declarator.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/TAO/TAO_IDL/fe/fe_declarator.cpp b/TAO/TAO_IDL/fe/fe_declarator.cpp index 2492fe8d451..b1e16bcc6fd 100644 --- a/TAO/TAO_IDL/fe/fe_declarator.cpp +++ b/TAO/TAO_IDL/fe/fe_declarator.cpp @@ -162,17 +162,7 @@ FE_Declarator::compose (AST_Decl *d) if (this->pd_complex_part->node_type () == AST_Decl::NT_array) { arr = AST_Array::narrow_from_decl (this->pd_complex_part); - - // The base type of an array isn't set until after the array - // has been created, so the check below gets done at this point. - arr->set_base_type (ct); - AST_Decl::NodeType nt = ct->unaliased_type ()->node_type (); - - if (nt == AST_Decl::NT_string || nt == AST_Decl::NT_wstring) - { - idl_global->string_member_seen_ = true; - } - + arr->set_base_type (ct); return arr; } |