avoid netlink.hpp compilation errors due to lack of comparison operators for sockaddr_nl

This commit is contained in:
Alden Torres 2017-06-02 08:29:41 -04:00 committed by Arvid Norberg
parent 5e384ccce3
commit ea851e955e
1 changed files with 4 additions and 0 deletions

View File

@ -106,6 +106,9 @@ namespace libtorrent {
return sizeof(m_sockaddr);
}
// commented the comparison operators for now, until the
// same operators are implemented for sockaddr_nl
/*
friend bool operator==(const basic_nl_endpoint<Protocol>& l
, const basic_nl_endpoint<Protocol>& r)
{
@ -141,6 +144,7 @@ namespace libtorrent {
{
return !(l < r);
}
*/
private:
protocol_type m_proto;