diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-03-17 16:50:32 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-03-17 16:50:32 +0000 |
commit | f7dc9a8052a9dee9ffa85ff4b3e31e2637bf50e5 (patch) | |
tree | 5a4afad3cc295b73852315e5efec73f8c6e51710 /ace/Message_Block.i | |
parent | 31ce139697a842198329189860d553a7555faf30 (diff) | |
download | ATCD-f7dc9a8052a9dee9ffa85ff4b3e31e2637bf50e5.tar.gz |
* ace/Message_Block.i (space): Moved ACE_Message_Block::space()
after inline declarations of ACE_Message_Block::end() and
ACE_Message_Block::wr_ptr() to prevent "used before it was declared
inline" warnings on end() and wr_ptr().
Diffstat (limited to 'ace/Message_Block.i')
-rw-r--r-- | ace/Message_Block.i | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ace/Message_Block.i b/ace/Message_Block.i index 1c9f9ccf038..c8d175f8f27 100644 --- a/ace/Message_Block.i +++ b/ace/Message_Block.i @@ -119,13 +119,6 @@ ACE_Message_Block::size (void) const return this->data_block ()->size (); } -ACE_INLINE size_t -ACE_Message_Block::space (void) const -{ - ACE_TRACE ("ACE_Message_Block::space"); - return this->end () - this->wr_ptr (); -} - ACE_INLINE ACE_Message_Block::ACE_Message_Type ACE_Data_Block::msg_type (void) const { @@ -298,6 +291,13 @@ ACE_Message_Block::wr_ptr (size_t n) this->wr_ptr_ += n; } +ACE_INLINE size_t +ACE_Message_Block::space (void) const +{ + ACE_TRACE ("ACE_Message_Block::space"); + return this->end () - this->wr_ptr (); +} + ACE_INLINE void ACE_Message_Block::cont (ACE_Message_Block *cont_msg) { |