Fix address_v6::operator<.

This commit is contained in:
chris_kohlhoff 2007-10-21 08:12:28 +00:00
parent 2500e9a200
commit 5028bc4821

View File

@ -300,7 +300,7 @@ public:
{
using namespace std; // For memcmp.
int memcmp_result = memcmp(&a1.addr_, &a2.addr_,
sizeof(asio::detail::in6_addr_type)) < 0;
sizeof(asio::detail::in6_addr_type));
if (memcmp_result < 0)
return true;
if (memcmp_result > 0)