OSDN Git Service

2004-10-17 Benjamin Kosnik <bkoz@redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Oct 2004 15:22:03 +0000 (15:22 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Oct 2004 15:22:03 +0000 (15:22 +0000)
commit4475acf859f0635759ec1045d12f6aeda58e516e
treee552abb6f5cc931e88759b81d1278e93aa6faa6e
parentb623a505b830e04cf389ba71bf7453f5ab6cda3e
2004-10-17  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/mt_allocator.h (__pool::_M_get_align): New.
(__mt_alloc::allocate): Use it.
* src/mt_allocator.cc (__pool::_M_reclaim_block): Use it.
(__pool::_M_reserve_block): Simplify block allocation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89171 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/mt_allocator.h
libstdc++-v3/src/mt_allocator.cc