diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-03-29 09:57:54 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-03-29 09:57:54 +0000 |
commit | ec3cd56d3af31d9ff360b5ba117fcbd10f0b099b (patch) | |
tree | 44507f9116ad866b84f29ae9168638d356cd5fbd | |
parent | 4a5fee3a0a969d35101c24a2ac321f8c4389dc31 (diff) | |
download | ATCD-ec3cd56d3af31d9ff360b5ba117fcbd10f0b099b.tar.gz |
ChangeLogTag: Mon Mar 29 10:57:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r-- | TAO/tao/Union_TypeCode.cpp | 6 | ||||
-rw-r--r-- | TAO/tao/Union_TypeCode.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tao/Union_TypeCode.cpp b/TAO/tao/Union_TypeCode.cpp index 1d58f848a2a..f4e077358f8 100644 --- a/TAO/tao/Union_TypeCode.cpp +++ b/TAO/tao/Union_TypeCode.cpp @@ -41,7 +41,7 @@ TAO::TypeCode::Union<StringType, for (unsigned int i = 0; i < count; ++i) { - case_type const & c = this->the_case (i); + case_type & c = this->the_case (i); if (!c.marshal (cdr)) return false; @@ -109,7 +109,7 @@ TAO::TypeCode::Union<StringType, for (CORBA::ULong i = 0; i < this_count; ++i) { - case_type const & lhs_case = this->the_case (i); + case_type & lhs_case = this->the_case (i); bool const equal_case = lhs_case.equal (i, @@ -190,7 +190,7 @@ TAO::TypeCode::Union<StringType, for (CORBA::ULong i = 0; i < this_count; ++i) { - case_type const & lhs_case = this->the_case (i); + case_type & lhs_case = this->the_case (i); bool const equivalent_case = lhs_case.equivalent (i, diff --git a/TAO/tao/Union_TypeCode.h b/TAO/tao/Union_TypeCode.h index a75c98e5cad..573aac9f2d5 100644 --- a/TAO/tao/Union_TypeCode.h +++ b/TAO/tao/Union_TypeCode.h @@ -128,7 +128,7 @@ namespace TAO * attempt to perform special handling for the @c default * case by shifting the index value by one, for example. */ - case_type const & the_case (CORBA::ULong index) const; + case_type & the_case (CORBA::ULong index) const; private: |