diff options
author | Guillaume Melquiond <guillaume.melquiond@ens-lyon.fr> | 2005-09-22 10:48:31 +0200 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2005-09-22 08:48:31 +0000 |
commit | fa5e3f0675445509900ec0961d25dfc9105bdde8 (patch) | |
tree | 933ec6dfc3521e658fbaa3682cd6f6e2555f7992 /libstdc++-v3/include/ext/mt_allocator.h | |
parent | b13476386feac312f1c35320213099bdad2248ed (diff) | |
download | gcc-fa5e3f0675445509900ec0961d25dfc9105bdde8.zip gcc-fa5e3f0675445509900ec0961d25dfc9105bdde8.tar.gz gcc-fa5e3f0675445509900ec0961d25dfc9105bdde8.tar.bz2 |
re PR libstdc++/23956 (Class __mt_alloc overexerts __policy_type::_S_get_pool)
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.
From-SVN: r104520
Diffstat (limited to 'libstdc++-v3/include/ext/mt_allocator.h')
-rw-r--r-- | libstdc++-v3/include/ext/mt_allocator.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libstdc++-v3/include/ext/mt_allocator.h b/libstdc++-v3/include/ext/mt_allocator.h index 311e219..23dd511 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() { } |