diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_argument/ami_handler_compiled_marshal_cs.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_argument/ami_handler_compiled_marshal_cs.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_argument/ami_handler_compiled_marshal_cs.cpp b/TAO/TAO_IDL/be/be_visitor_argument/ami_handler_compiled_marshal_cs.cpp index 361d9a95fd7..7f2031f7604 100644 --- a/TAO/TAO_IDL/be/be_visitor_argument/ami_handler_compiled_marshal_cs.cpp +++ b/TAO/TAO_IDL/be/be_visitor_argument/ami_handler_compiled_marshal_cs.cpp @@ -564,16 +564,8 @@ int be_visitor_args_ami_handler_compiled_marshal_cs::visit_string (be_string *no } else { - if (node->width () == sizeof (char)) - { - *os << "CORBA::Any::to_string ("; - } - else - { - *os << "CORBA::Any::to_wstring ("; - } - - *os << arg->local_name () << ".out (), " + *os << "CORBA::Any::to_string (" + << arg->local_name () << ".out (), " << node->max_size ()->ev ()->u.ulval - 1 << ")"; } |