Browse Source

Add comment for qHash implementation requirements

As clazy report false-positive on this.
adaptive-webui-19844
Chocobo1 3 years ago
parent
commit
19d95ebd10
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 3
      src/base/bittorrent/ltqhash.h

3
src/base/bittorrent/ltqhash.h

@ -34,6 +34,9 @@ @@ -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…
Cancel
Save