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