diff --git a/include/boost/unordered/detail/hash_table.hpp b/include/boost/unordered/detail/hash_table.hpp index 1e8c6cfc..0e46219c 100644 --- a/include/boost/unordered/detail/hash_table.hpp +++ b/include/boost/unordered/detail/hash_table.hpp @@ -66,8 +66,12 @@ namespace boost { template 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)