From e39cbc74de978306b77885c0500bb4f5af2888c4 Mon Sep 17 00:00:00 2001 From: schmidt Date: Tue, 4 Apr 2000 16:59:24 +0000 Subject: ChangeLogTag:Mon Apr 3 11:09:26 2000 Vishal Kachroo --- ace/Message_Block.cpp | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'ace/Message_Block.cpp') diff --git a/ace/Message_Block.cpp b/ace/Message_Block.cpp index 0d4044ae306..277ea3fbfab 100644 --- a/ace/Message_Block.cpp +++ b/ace/Message_Block.cpp @@ -227,9 +227,7 @@ ACE_Message_Block::total_size (void) const for (const ACE_Message_Block *i = this; i != 0; i = i->cont ()) - { - size += i->size (); - } + size += i->size (); return size; } @@ -243,9 +241,7 @@ ACE_Message_Block::total_length (void) const for (const ACE_Message_Block *i = this; i != 0; i = i->cont ()) - { - length += i->length (); - } + length += i->length (); return length; } @@ -260,9 +256,7 @@ ACE_Message_Block::total_capacity (void) const for (const ACE_Message_Block *i = this; i != 0; i = i->cont ()) - { - size += i->capacity (); - } + size += i->capacity (); return size; } -- cgit v1.2.1