diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-11-24 12:48:35 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-11-24 12:48:35 +0000 |
commit | fcd1533f47df16af4c2d8760de56297f97f6e43d (patch) | |
tree | da5e1df8df1bb84a0a06630e3310fede7abc4ae4 | |
parent | c0936ce10c3524fb7490f8aba86393ab2831ed2b (diff) | |
download | ATCD-fcd1533f47df16af4c2d8760de56297f97f6e43d.tar.gz |
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_template_export.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_template_export.cpp b/TAO/TAO_IDL/be/be_visitor_template_export.cpp index 6fb14458121..a8c383ce9a1 100644 --- a/TAO/TAO_IDL/be/be_visitor_template_export.cpp +++ b/TAO/TAO_IDL/be/be_visitor_template_export.cpp @@ -74,6 +74,13 @@ be_visitor_template_export::visit_module (be_module *node) int be_visitor_template_export::visit_sequence (be_sequence *node) { + // If this is a (w)string don't generate a thing + if ((node->managed_type () == be_sequence::MNG_STRING) || + (node->managed_type () == be_sequence::MNG_WSTRING)) + { + return 0; + } + TAO_OutStream *os = this->ctx_->stream (); be_type *bt = be_type::narrow_from_decl (node->base_type ()); |