aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/ext/mt_allocator.h
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2004-10-14 21:05:24 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2004-10-14 21:05:24 +0000
commit11aaaa84ae74f52ba9cb62ec6745c4b38f0247f9 (patch)
tree8dfe6ae36b4eea62bc05af4e0a631eb473549320 /libstdc++-v3/include/ext/mt_allocator.h
parented674251587d9dcc99e617713da9a992774d6b73 (diff)
downloadgcc-11aaaa84ae74f52ba9cb62ec6745c4b38f0247f9.zip
gcc-11aaaa84ae74f52ba9cb62ec6745c4b38f0247f9.tar.gz
gcc-11aaaa84ae74f52ba9cb62ec6745c4b38f0247f9.tar.bz2
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.h2
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 115ade7..3bbfc79 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();