diff options
Diffstat (limited to 'ace/CDR_Stream.i')
-rw-r--r-- | ace/CDR_Stream.i | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/ace/CDR_Stream.i b/ace/CDR_Stream.i index 529eb077061..811bf84d670 100644 --- a/ace/CDR_Stream.i +++ b/ace/CDR_Stream.i @@ -157,9 +157,7 @@ ACE_INLINE void ACE_OutputCDR::reset (void) { this->current_ = &this->start_; - - for (ACE_Message_Block *i = &this->start_; i; i = i->cont()) - ACE_CDR::mb_align (i); + ACE_CDR::mb_align (&this->start_); } // Decode the CDR stream. @@ -427,12 +425,6 @@ ACE_OutputCDR::end (void) const return this->current_->cont (); } -ACE_INLINE const ACE_Message_Block* -ACE_OutputCDR::current (void) const -{ - return this->current_; -} - ACE_INLINE size_t ACE_OutputCDR::total_length (void) const { |