diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-05 18:02:01 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-05 18:02:01 +0000 |
commit | 4b900b2b089d066475a641adf6ea4974741df551 (patch) | |
tree | 505a705b5fca487e29bbf4f56788fe4acbf42ade /ace/CDR_Stream.cpp | |
parent | 8de1b7083bf71644135ce9a43c12e9b7812d7269 (diff) | |
download | ATCD-4b900b2b089d066475a641adf6ea4974741df551.tar.gz |
ChangeLogTag:Sat Jun 5 13:00:46 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'ace/CDR_Stream.cpp')
-rw-r--r-- | ace/CDR_Stream.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ace/CDR_Stream.cpp b/ace/CDR_Stream.cpp index 7a9583df54f..990ccd91323 100644 --- a/ace/CDR_Stream.cpp +++ b/ace/CDR_Stream.cpp @@ -992,3 +992,16 @@ ACE_InputCDR::skip_bytes (size_t len) this->good_bit_ = 0; return 0; } + + + +int +ACE_InputCDR::grow (size_t newsize) +{ + if (ACE_CDR::grow (&this->start_, newsize) == -1) + return -1; + + ACE_CDR::mb_align (&this->start_); + this->start_.wr_ptr (newsize); + return 0; +} |