From: Guillaume Melquiond Date: Thu, 22 Sep 2005 08:48:31 +0000 (+0200) Subject: re PR libstdc++/23956 (Class __mt_alloc overexerts __policy_type::_S_get_pool) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fa5e3f0675445509900ec0961d25dfc9105bdde8;p=gcc.git re PR libstdc++/23956 (Class __mt_alloc overexerts __policy_type::_S_get_pool) 2005-09-21 Guillaume Melquiond PR libstdc++/23956 * include/ext/mt_allocator.h: Remove excess policy_type::_S_get_pool calls in constructors. From-SVN: r104520 --- 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 + + PR libstdc++/23956 + * include/ext/mt_allocator.h: Remove excess + policy_type::_S_get_pool calls in constructors. + 2005-09-18 Paolo Carlini 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 - __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() { }