summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/TAO_IDL/be/be_visitor_template_export.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_template_export.cpp b/TAO/TAO_IDL/be/be_visitor_template_export.cpp
index a8c383ce9a1..49f7fcebcea 100644
--- a/TAO/TAO_IDL/be/be_visitor_template_export.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_template_export.cpp
@@ -74,9 +74,8 @@ 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))
+ // If this is a wstring don't generate a thing
+ if (node->managed_type () == be_sequence::MNG_STRING)
{
return 0;
}