OSDN Git Service

2004-05-16 Paolo Carlini <pcarlini@suse.de>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 16 May 2004 17:01:40 +0000 (17:01 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 16 May 2004 17:01:40 +0000 (17:01 +0000)
commita4cc5e2c2e6675e900e7a272287b4a9c2c204734
treec76fe30a15affefc1d7002c578e700a73621d44c
parent31b1f24d82db2176b3cdd4069e3eb8e99ad18b4b
2004-05-16  Paolo Carlini  <pcarlini@suse.de>

* include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
Consistently update __bin._M_free[0].
(__mt_alloc<>::allocate): When __bin._M_first[0] != NULL use
__bin._M_free[0] to simplify the while loop (i.e., the number
of iterations becomes known at the outset).

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