diff options
-rw-r--r-- | TAO/tao/Unbounded_Basic_String_Sequence_T.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tao/Unbounded_Basic_String_Sequence_T.h b/TAO/tao/Unbounded_Basic_String_Sequence_T.h index b1d7f6a1107..b4d419cc573 100644 --- a/TAO/tao/Unbounded_Basic_String_Sequence_T.h +++ b/TAO/tao/Unbounded_Basic_String_Sequence_T.h @@ -193,8 +193,8 @@ private: { // Access the underlying element in the sequence. //return element_type (impl_[i], release()); - return element_type (this->sequence_[this->pos_], - this->sequence_.release()); + return element_type ((*(this->sequence_))[this->pos_], + this->sequence_->release()); } /// Returns a const reference to the item contained at the current position @@ -204,8 +204,8 @@ private: { // Access the underlying element in the sequence. //return const_element_type (impl_[i], release()); - return const_element_type (this->sequence_[this->pos_], - this->sequence_.release ()); + return const_element_type ((*(this->sequence_))[this->pos_], + this->sequence_->release ()); } */ |