mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
Add comment for qHash implementation requirements
As clazy report false-positive on this.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user