]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR libstdc++/47433 (libstdc++ parallel mode calls std::swap explicitely)
authorJohannes Singler <singler@kit.edu>
Fri, 11 Feb 2011 10:11:41 +0000 (10:11 +0000)
committerJohannes Singler <singler@gcc.gnu.org>
Fri, 11 Feb 2011 10:11:41 +0000 (10:11 +0000)
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

libstdc++-v3/ChangeLog
libstdc++-v3/include/parallel/losertree.h

index 6f8dd42108f96bddd375afce464b6de4201ade2c..df669c6134a1c0821108609f8d9708577c2f5642 100644 (file)
@@ -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.
index ccc930b29fb4137cd3bdcc174c0a0461178ef046..8d7b137aaf56d22f411113650d3e94dd0d732820 100644 (file)
@@ -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);