This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/47433] libstdc++ parallel mode calls std::swap explicitely
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 24 Jan 2011 14:11:14 +0000
- Subject: [Bug libstdc++/47433] libstdc++ parallel mode calls std::swap explicitely
- Auto-submitted: auto-generated
- References: <bug-47433-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47433
--- Comment #11 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-01-24 14:11:05 UTC ---
Thanks Johannes. Jon is right (and indeed we are already using the pattern
elsewhere): when we are removing the std:: qualification from std::swap inside
a namespace != std, let's also add an using std::swap before. Maybe isn't
really necessary due to namespace association, but let's play safe. Patch
pre-approved.