Add operator< for InfoHash class

This commit is contained in:
Chocobo1
2020-12-10 15:58:54 +08:00
committed by sledgehammer999
parent e4e55d2a80
commit 7de983b4e5
3 changed files with 8 additions and 2 deletions

View File

@@ -61,6 +61,7 @@ namespace BitTorrent
bool operator==(const InfoHash &left, const InfoHash &right);
bool operator!=(const InfoHash &left, const InfoHash &right);
bool operator<(const InfoHash &left, const InfoHash &right);
uint qHash(const InfoHash &key, uint seed);
}