diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-02-28 10:06:24 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-02-28 10:06:24 +0000 |
commit | b86b4b557bfc8c4a5cfcddc30066a840da352b6c (patch) | |
tree | 99eb6bc2c93f074a76ad87b251eea8b5316c3670 /TAO/tao/AnyTypeCode/Union_TypeCode.cpp | |
parent | 63c593b57fe064fa5b4455c0ea6fe40b02d17a26 (diff) | |
download | ATCD-b86b4b557bfc8c4a5cfcddc30066a840da352b6c.tar.gz |
Wed Feb 28 10:05:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/AnyTypeCode/Union_TypeCode.cpp')
-rw-r--r-- | TAO/tao/AnyTypeCode/Union_TypeCode.cpp | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/TAO/tao/AnyTypeCode/Union_TypeCode.cpp b/TAO/tao/AnyTypeCode/Union_TypeCode.cpp index 2fce66b9143..61ab8093785 100644 --- a/TAO/tao/AnyTypeCode/Union_TypeCode.cpp +++ b/TAO/tao/AnyTypeCode/Union_TypeCode.cpp @@ -264,8 +264,7 @@ TAO::TypeCode::Union<StringType, // if (adapter == 0) // { -// ACE_THROW_RETURN (CORBA::INTERNAL (), -// CORBA::TypeCode::_nil ()); +// throw ::CORBA::INTERNAL (); // } // return @@ -293,8 +292,7 @@ char const * TAO::TypeCode::Union<StringType, TypeCodeType, CaseArrayType, - RefCountPolicy>::id_i ( - void) const + RefCountPolicy>::id_i (void) const { // Ownership is retained by the TypeCode, as required by the C++ // mapping. @@ -309,8 +307,7 @@ char const * TAO::TypeCode::Union<StringType, TypeCodeType, CaseArrayType, - RefCountPolicy>::name_i ( - void) const + RefCountPolicy>::name_i (void) const { // Ownership is retained by the TypeCode, as required by the C++ // mapping. @@ -339,8 +336,7 @@ char const * TAO::TypeCode::Union<StringType, TypeCodeType, CaseArrayType, - RefCountPolicy>::member_name_i (CORBA::ULong index - ) const + RefCountPolicy>::member_name_i (CORBA::ULong index) const { // Ownership is retained by the TypeCode, as required by the C++ // mapping. @@ -358,8 +354,7 @@ CORBA::TypeCode_ptr TAO::TypeCode::Union<StringType, TypeCodeType, CaseArrayType, - RefCountPolicy>::member_type_i (CORBA::ULong index - ) const + RefCountPolicy>::member_type_i (CORBA::ULong index) const { if (index >= this->ncases_) throw ::CORBA::TypeCode::Bounds (); @@ -413,8 +408,7 @@ CORBA::TypeCode_ptr TAO::TypeCode::Union<StringType, TypeCodeType, CaseArrayType, - RefCountPolicy>::discriminator_type_i ( - void) const + RefCountPolicy>::discriminator_type_i (void) const { return CORBA::TypeCode::_duplicate ( @@ -429,8 +423,7 @@ CORBA::Long TAO::TypeCode::Union<StringType, TypeCodeType, CaseArrayType, - RefCountPolicy>::default_index_i ( - void) const + RefCountPolicy>::default_index_i (void) const { return this->default_index_; } |