mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-09-07 11:32:21 +00:00
Allow ADL lookup for helper function
This commit is contained in:
parent
5261d4375f
commit
50167d40d7
@ -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…
x
Reference in New Issue
Block a user