diff options
Diffstat (limited to 'TAO/tao/TypeCode/Struct_TypeCode.cpp')
-rw-r--r-- | TAO/tao/TypeCode/Struct_TypeCode.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/TAO/tao/TypeCode/Struct_TypeCode.cpp b/TAO/tao/TypeCode/Struct_TypeCode.cpp index 5248aa7a032..ddd563696d0 100644 --- a/TAO/tao/TypeCode/Struct_TypeCode.cpp +++ b/TAO/tao/TypeCode/Struct_TypeCode.cpp @@ -217,11 +217,14 @@ TAO::TypeCode::Struct<StringType, safe_fields.reset (fields); + static char const * empty_name = ""; + for (CORBA::ULong i = 0; i < this->nfields_; ++i) { // Member names will be stripped, i.e. not embedded within // the compact TypeCode. + tc_fields[i].name = empty_name; tc_fields[i].type = &(*(this->fields_[i].type)->get_compact_typecode ( ACE_ENV_ARG_PARAMETER)); |