Fix address_v6::operator<.
This commit is contained in:
parent
2500e9a200
commit
5028bc4821
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user