mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-25 10:46:15 +03:00
Add comment for qHash implementation requirements
As clazy report false-positive on this.
This commit is contained in:
parent
0e1849346b
commit
19d95ebd10
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue