mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 13:04:23 +00:00
Add comment for qHash implementation requirements
As clazy report false-positive on this.
This commit is contained in:
parent
0e1849346b
commit
19d95ebd10
@ -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…
x
Reference in New Issue
Block a user