mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 05:08:05 -06:00
Use default operators generated/synthesized by compiler
This commit is contained in:
@@ -135,11 +135,6 @@ namespace BitTorrent
|
||||
return (left.uniqueID() == right.uniqueID());
|
||||
}
|
||||
|
||||
bool operator!=(const Peer &left, const Peer &right)
|
||||
{
|
||||
return !(left == right);
|
||||
}
|
||||
|
||||
std::size_t qHash(const Peer &key, const std::size_t seed)
|
||||
{
|
||||
return qHash(key.uniqueID(), seed);
|
||||
|
||||
Reference in New Issue
Block a user