summaryrefslogtreecommitdiff
path: root/TAO/tao/Sequence.i
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-09-02 19:31:04 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-09-02 19:31:04 +0000
commit2a89f0976855aad2988048efcd71df2cfe57d439 (patch)
tree04ffc75feb256effa5f7970741323cd8c956ff48 /TAO/tao/Sequence.i
parent2287c9661c07e2dd77a186040ed174b0309ea21d (diff)
downloadATCD-2a89f0976855aad2988048efcd71df2cfe57d439.tar.gz
ChangeLogTag:Wed Sep 2 14:28:54 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Sequence.i')
-rw-r--r--TAO/tao/Sequence.i1
1 files changed, 1 insertions, 0 deletions
diff --git a/TAO/tao/Sequence.i b/TAO/tao/Sequence.i
index aaa1ee4d64e..ede6af9259c 100644
--- a/TAO/tao/Sequence.i
+++ b/TAO/tao/Sequence.i
@@ -368,6 +368,7 @@ TAO_Unbounded_Sequence<CORBA::Octet>::replace (CORBA::ULong length,
{
this->_deallocate_buffer ();
this->mb_ = ACE_Message_Block::duplicate (mb);
+ this->mb_->wr_ptr (this->mb_->rd_ptr () + length);
this->buffer_ = this->mb_->rd_ptr ();
this->maximum_ = length;
this->length_ = length;