mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Allow ADL lookup for helper function
This commit is contained in:
parent
5261d4375f
commit
50167d40d7
2 changed files with 3 additions and 3 deletions
|
@ -91,7 +91,7 @@ bool InfoHash::operator!=(const InfoHash &other) const
|
||||||
return (m_nativeHash != other.m_nativeHash);
|
return (m_nativeHash != other.m_nativeHash);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint qHash(const InfoHash &key, uint seed)
|
uint BitTorrent::qHash(const InfoHash &key, uint seed)
|
||||||
{
|
{
|
||||||
return qHash(static_cast<QString>(key), seed);
|
return qHash(static_cast<QString>(key), seed);
|
||||||
}
|
}
|
||||||
|
|
|
@ -54,8 +54,8 @@ namespace BitTorrent
|
||||||
libtorrent::sha1_hash m_nativeHash;
|
libtorrent::sha1_hash m_nativeHash;
|
||||||
QString m_hashString;
|
QString m_hashString;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
uint qHash(const InfoHash &key, uint seed);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint qHash(const BitTorrent::InfoHash &key, uint seed);
|
|
||||||
|
|
||||||
#endif // BITTORRENT_INFOHASH_H
|
#endif // BITTORRENT_INFOHASH_H
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue