forked from boostorg/unordered
On compilers without ADL, qualify the call to swap.
[SVN r2895]
This commit is contained in:
1 parent
c9e2182aa9
commit
f43b6bb5d8
1 file changed
+4
@@ -66,8 +66,12 @@ namespace boost {
|
||||
template <class T>
|
||||
inline void hash_swap(T& x, T& y)
|
||||
{
|
||||
#if defined(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP)
|
||||
std::swap(x,y);
|
||||
#else
|
||||
using namespace std;
|
||||
swap(x, y);
|
||||
#endif
|
||||
}
|
||||
|
||||
inline std::size_t float_to_size_t(float f)
|
||||
|
||||
Reference in new issue
Block a user