diff options
Diffstat (limited to 'TAO/TAO_IDL/ast/ast_string.cpp')
-rw-r--r-- | TAO/TAO_IDL/ast/ast_string.cpp | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/TAO/TAO_IDL/ast/ast_string.cpp b/TAO/TAO_IDL/ast/ast_string.cpp index aebbd4648c3..7540024e3cc 100644 --- a/TAO/TAO_IDL/ast/ast_string.cpp +++ b/TAO/TAO_IDL/ast/ast_string.cpp @@ -96,24 +96,18 @@ AST_String::AST_String(AST_Expression *ms) { } -AST_String::AST_String(AST_Expression *ms, - long wide) - : AST_Decl (wide == sizeof (char) - ? AST_Decl::NT_string - : AST_Decl::NT_wstring, - new UTL_ScopedName (wide == sizeof (char) - ? new Identifier ("string", - 1, - 0, - I_FALSE) - : new Identifier ("wstring", - 1, - 0, - I_FALSE), - NULL), - NULL), - pd_max_size(ms), - pd_width(wide) +AST_String::AST_String(AST_Expression *ms, long wide) + : AST_Decl(AST_Decl::NT_string, + new UTL_ScopedName(wide == sizeof(char) + ? new Identifier("string",1,0,I_FALSE) + : new Identifier("wstring_t", + 1, + 0, + I_FALSE), + NULL), + NULL), + pd_max_size(ms), + pd_width(wide) { } |