summaryrefslogtreecommitdiff
path: root/ace/Memory_Pool.i
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-07-07 05:42:03 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-07-07 05:42:03 +0000
commit81a825bad180e2b8f3c3bf27a4f8d1cc071d2a39 (patch)
treef3961ecb0a771c015bbca524252cf96b3725d9eb /ace/Memory_Pool.i
parent1e199c0d09e61730bddca859fd7c9262328746fa (diff)
downloadATCD-81a825bad180e2b8f3c3bf27a4f8d1cc071d2a39.tar.gz
ChangeLogTag:Wed Jul 7 00:37:22 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Diffstat (limited to 'ace/Memory_Pool.i')
-rw-r--r--ace/Memory_Pool.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/Memory_Pool.i b/ace/Memory_Pool.i
index a3a8667c6a4..d18ccb7afdd 100644
--- a/ace/Memory_Pool.i
+++ b/ace/Memory_Pool.i
@@ -89,8 +89,8 @@ ACE_INLINE size_t
ACE_Shared_Memory_Pool::round_up (size_t nbytes)
{
ACE_TRACE ("ACE_Shared_Memory_Pool::round_up");
- if (nbytes < ACE_DEFAULT_SEGMENT_SIZE)
- nbytes = ACE_DEFAULT_SEGMENT_SIZE;
+ if (nbytes < this->segment_size_)
+ nbytes = this->segment_size_;
return ACE::round_to_pagesize (nbytes);
}