diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-09-22 08:48:31 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-09-22 08:48:31 +0000 |
commit | 0b3cc5f66aa0fe3feea8bf50db4a168f8303efeb (patch) | |
tree | 933ec6dfc3521e658fbaa3682cd6f6e2555f7992 | |
parent | d0186307062d00b77b83f0fb907604943f3493cc (diff) | |
download | gcc-0b3cc5f66aa0fe3feea8bf50db4a168f8303efeb.tar.gz |
2005-09-21 Guillaume Melquiond <guillaume.melquiond@ens-lyon.fr>
PR libstdc++/23956
* include/ext/mt_allocator.h: Remove excess
policy_type::_S_get_pool calls in constructors.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104520 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/include/ext/mt_allocator.h | 9 |
2 files changed, 9 insertions, 6 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 8dec8fd3a6a..75ac3516c36 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2005-09-21 Guillaume Melquiond <guillaume.melquiond@ens-lyon.fr> + + PR libstdc++/23956 + * include/ext/mt_allocator.h: Remove excess + policy_type::_S_get_pool calls in constructors. + 2005-09-18 Paolo Carlini <pcarlini@suse.de> PR libstdc++/23417 (cont) diff --git a/libstdc++-v3/include/ext/mt_allocator.h b/libstdc++-v3/include/ext/mt_allocator.h index 311e219aaee..23dd511374c 100644 --- a/libstdc++-v3/include/ext/mt_allocator.h +++ b/libstdc++-v3/include/ext/mt_allocator.h @@ -620,15 +620,12 @@ namespace __gnu_cxx typedef __mt_alloc<_Tp1, pol_type> other; }; - __mt_alloc() throw() - { __policy_type::_S_get_pool(); } + __mt_alloc() throw() { } - __mt_alloc(const __mt_alloc&) throw() - { __policy_type::_S_get_pool(); } + __mt_alloc(const __mt_alloc&) throw() { } template<typename _Tp1, typename _Poolp1> - __mt_alloc(const __mt_alloc<_Tp1, _Poolp1>& obj) throw() - { __policy_type::_S_get_pool(); } + __mt_alloc(const __mt_alloc<_Tp1, _Poolp1>& obj) throw() { } ~__mt_alloc() throw() { } |