Use default operators generated/synthesized by compiler

This commit is contained in:
Chocobo1
2022-04-02 13:34:52 +08:00
parent 10ee1ab7a2
commit 7612d5d0ef
15 changed files with 4 additions and 76 deletions

View File

@@ -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);