summaryrefslogtreecommitdiff
path: root/TAO/tao/Asynch_Queued_Message.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2006-05-16 12:36:32 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2006-05-16 12:36:32 +0000
commit6b9a34f450963770436c42b71459cd0fbc2bea10 (patch)
tree9fc1f64a9fd3b2de1a9070309997dd73e9ad6bde /TAO/tao/Asynch_Queued_Message.cpp
parentbd49e75038b39140be38ada832f3b03e2872681b (diff)
downloadATCD-6b9a34f450963770436c42b71459cd0fbc2bea10.tar.gz
ChangeLogTag: Tue May 16 12:28:12 2006 UTC Johnny Willemsen <jwillemsen@remedy.nl>Fri May 12 11:26:12 2006 UTC Johnny Willemsen <jwillemsen@remedy.nl>Mon May 15 12:58:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>Tue May 16 12:10:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/Asynch_Queued_Message.cpp')
-rw-r--r--TAO/tao/Asynch_Queued_Message.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/Asynch_Queued_Message.cpp b/TAO/tao/Asynch_Queued_Message.cpp
index 212dd6ef809..7c6ec5020e8 100644
--- a/TAO/tao/Asynch_Queued_Message.cpp
+++ b/TAO/tao/Asynch_Queued_Message.cpp
@@ -87,7 +87,7 @@ TAO_Asynch_Queued_Message::bytes_transferred (size_t &byte_count)
{
this->state_changed_i (TAO_LF_Event::LFS_ACTIVE);
- size_t remaining_bytes = this->size_ - this->offset_;
+ size_t const remaining_bytes = this->size_ - this->offset_;
if (byte_count > remaining_bytes)
{
this->offset_ = this->size_;
@@ -113,7 +113,7 @@ TAO_Asynch_Queued_Message::clone (ACE_Allocator *alloc)
// Just allocate and copy data that needs to be sent, no point
// copying the whole buffer.
- const size_t sz = this->size_ - this->offset_;
+ size_t const sz = this->size_ - this->offset_;
ACE_NEW_RETURN (buf,
char[sz],