mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 12:59:56 -07: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>
|
#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 libtorrent
|
||||||
{
|
{
|
||||||
namespace aux
|
namespace aux
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue