Add operator< for InfoHash class

This commit is contained in:
Chocobo1
2020-12-10 15:58:54 +08:00
parent cba8d83b21
commit 5ba6a5fca1
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);
}