Add comment for qHash implementation requirements

As clazy report false-positive on this.
This commit is contained in:
Chocobo1 2021-11-29 01:28:07 +08:00
parent 0e1849346b
commit 19d95ebd10
No known key found for this signature in database
GPG key ID: 210D9C873253A68C

View file

@ -34,6 +34,9 @@
#include <QHash>
// From https://doc.qt.io/qt-6/qhash.html#the-hashing-function:
// A hashing function for a key type K may be provided in two different ways.
// The first way is by having an overload of qHash() in K's namespace.
namespace libtorrent
{
namespace aux