re PR libstdc++/47433 (libstdc++ parallel mode calls std::swap explicitely)
2011-02-11 Johannes Singler <singler@kit.edu> PR libstdc++/47433 * include/parallel/losertree.h (_LoserTreeUnguarded<>::__delete_min_insert): Add missing "using std::swap;", as for other variants. From-SVN: r170047
This commit is contained in:
parent
6dd2a13c9e
commit
0ad84c3fbb
|
@ -1,3 +1,10 @@
|
|||
2011-02-11 Johannes Singler <singler@kit.edu>
|
||||
|
||||
PR libstdc++/47433
|
||||
* include/parallel/losertree.h
|
||||
(_LoserTreeUnguarded<>::__delete_min_insert):
|
||||
Add missing "using std::swap;", as for other variants.
|
||||
|
||||
2011-02-10 Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
* src/Makefile.am (sources): Add regex.cc.
|
||||
|
|
|
@ -775,6 +775,7 @@ namespace __gnu_parallel
|
|||
void
|
||||
__delete_min_insert(_Tp __key, bool)
|
||||
{
|
||||
using std::swap;
|
||||
#if _GLIBCXX_ASSERTIONS
|
||||
// no dummy sequence can ever be at the top!
|
||||
_GLIBCXX_PARALLEL_ASSERT(_M_losers[0]._M_source != -1);
|
||||
|
|
Loading…
Reference in New Issue