Changed 'using std::swap;' to 'using namesapce std;' in swap_impl function to work around ADL bugs in some compilers.

[SVN r47967]
This commit is contained in:
Joseph Gauterin authored and Andrey Semashev committed 2014-06-01 22:06:56 +04:00
1 parent fbbcc966f6
commit 594890dd99
1 file changed
+1 -1
+1 -1
View File
@@ -20,7 +20,7 @@ namespace boost_swap_impl
template<class T>
void swap_impl(T& left, T& right)
{
using std::swap;//use std::swap if argument dependent lookup fails
using namespace std;//use std::swap if argument dependent lookup fails
swap(left,right);
}