diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2004-10-14 21:05:24 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2004-10-14 21:05:24 +0000 |
commit | 11aaaa84ae74f52ba9cb62ec6745c4b38f0247f9 (patch) | |
tree | 8dfe6ae36b4eea62bc05af4e0a631eb473549320 /libstdc++-v3/include/ext/mt_allocator.h | |
parent | ed674251587d9dcc99e617713da9a992774d6b73 (diff) | |
download | gcc-11aaaa84ae74f52ba9cb62ec6745c4b38f0247f9.tar.gz |
mt_allocator.h: Tweaks.
2004-10-14 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/mt_allocator.h: Tweaks.
* src/mt_allocator.cc: Same.
From-SVN: r89052
Diffstat (limited to 'libstdc++-v3/include/ext/mt_allocator.h')
-rw-r--r-- | libstdc++-v3/include/ext/mt_allocator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/ext/mt_allocator.h b/libstdc++-v3/include/ext/mt_allocator.h index 115ade7c284..3bbfc79b4bb 100644 --- a/libstdc++-v3/include/ext/mt_allocator.h +++ b/libstdc++-v3/include/ext/mt_allocator.h @@ -705,7 +705,7 @@ namespace __gnu_cxx // Already reserved. typedef typename __pool_type::_Block_record _Block_record; _Block_record* __block = __bin._M_first[__thread_id]; - __bin._M_first[__thread_id] = __bin._M_first[__thread_id]->_M_next; + __bin._M_first[__thread_id] = __block->_M_next; __pool._M_adjust_freelist(__bin, __block, __thread_id); const __pool_base::_Tune& __options = __pool._M_get_options(); |