summaryrefslogtreecommitdiff
path: root/TAO/tao/Unbounded_Object_Reference_Sequence_T.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-03-05 11:02:51 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-03-05 11:02:51 +0000
commit8028b4293c5fcbcac601ad12c567532aeb5f1cec (patch)
tree1e686f04820e68900e50130389ad30f1b816747f /TAO/tao/Unbounded_Object_Reference_Sequence_T.h
parent12bb5d674dc04c30e3bcb86841c3d9dffc960884 (diff)
downloadATCD-8028b4293c5fcbcac601ad12c567532aeb5f1cec.tar.gz
Diffstat (limited to 'TAO/tao/Unbounded_Object_Reference_Sequence_T.h')
-rw-r--r--TAO/tao/Unbounded_Object_Reference_Sequence_T.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/Unbounded_Object_Reference_Sequence_T.h b/TAO/tao/Unbounded_Object_Reference_Sequence_T.h
index 50d1ae9fd9b..5a727e79db4 100644
--- a/TAO/tao/Unbounded_Object_Reference_Sequence_T.h
+++ b/TAO/tao/Unbounded_Object_Reference_Sequence_T.h
@@ -70,8 +70,8 @@ public:
impl_.length(length);
}
/// @copydoc details::generic_sequence::operator[]
- inline const_element_type operator[](CORBA::ULong i) const {
- return const_element_type (impl_[i], release());
+ inline value_type const & operator[](CORBA::ULong i) const {
+ return impl_[i];
}
/// @copydoc details::generic_sequence::operator[]
inline element_type operator[](CORBA::ULong i) {