avoid netlink.hpp compilation errors due to lack of comparison operators for sockaddr_nl
This commit is contained in:
parent
5e384ccce3
commit
ea851e955e
|
@ -106,6 +106,9 @@ namespace libtorrent {
|
||||||
return sizeof(m_sockaddr);
|
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
|
friend bool operator==(const basic_nl_endpoint<Protocol>& l
|
||||||
, const basic_nl_endpoint<Protocol>& r)
|
, const basic_nl_endpoint<Protocol>& r)
|
||||||
{
|
{
|
||||||
|
@ -141,6 +144,7 @@ namespace libtorrent {
|
||||||
{
|
{
|
||||||
return !(l < r);
|
return !(l < r);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
private:
|
private:
|
||||||
protocol_type m_proto;
|
protocol_type m_proto;
|
||||||
|
|
Loading…
Reference in New Issue