fix failing build with boost >= 1.76 (#3433)
This commit is contained in:
parent
db6c1624c9
commit
82153c8775
1 changed files with 2 additions and 0 deletions
|
|
@ -112,6 +112,7 @@ struct hash<::nano::tcp_endpoint>
|
|||
return ehash (endpoint_a);
|
||||
}
|
||||
};
|
||||
#ifndef BOOST_ASIO_HAS_STD_HASH
|
||||
template <>
|
||||
struct hash<boost::asio::ip::address>
|
||||
{
|
||||
|
|
@ -121,6 +122,7 @@ struct hash<boost::asio::ip::address>
|
|||
return ihash (ip_a);
|
||||
}
|
||||
};
|
||||
#endif
|
||||
}
|
||||
namespace boost
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue