Commit fa5e3f06 by Guillaume Melquiond Committed by Benjamin Kosnik

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
parent b1347638
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> 2005-09-18 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/23417 (cont) PR libstdc++/23417 (cont)
......
...@@ -620,15 +620,12 @@ namespace __gnu_cxx ...@@ -620,15 +620,12 @@ namespace __gnu_cxx
typedef __mt_alloc<_Tp1, pol_type> other; typedef __mt_alloc<_Tp1, pol_type> other;
}; };
__mt_alloc() throw() __mt_alloc() throw() { }
{ __policy_type::_S_get_pool(); }
__mt_alloc(const __mt_alloc&) throw() __mt_alloc(const __mt_alloc&) throw() { }
{ __policy_type::_S_get_pool(); }
template<typename _Tp1, typename _Poolp1> template<typename _Tp1, typename _Poolp1>
__mt_alloc(const __mt_alloc<_Tp1, _Poolp1>& obj) throw() __mt_alloc(const __mt_alloc<_Tp1, _Poolp1>& obj) throw() { }
{ __policy_type::_S_get_pool(); }
~__mt_alloc() throw() { } ~__mt_alloc() throw() { }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment