mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 15:04:00 +00:00
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:
parent
1ecf3ceb74
commit
62836f2928
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user