mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 23:47:23 -06:00
Store hybrid torrents using "torrent ID" as basename
This commit is contained in:
@@ -43,6 +43,8 @@ public:
|
||||
using UnderlyingType = lt::digest32<N>;
|
||||
|
||||
Digest32() = default;
|
||||
Digest32(const Digest32 &other) = default;
|
||||
Digest32(Digest32 &&other) = default;
|
||||
|
||||
Digest32(const UnderlyingType &nativeDigest)
|
||||
{
|
||||
@@ -62,6 +64,9 @@ public:
|
||||
return m_dataPtr->valid;
|
||||
}
|
||||
|
||||
Digest32 &operator=(const Digest32 &other) = default;
|
||||
Digest32 &operator=(Digest32 &&other) = default;
|
||||
|
||||
operator UnderlyingType() const
|
||||
{
|
||||
return m_dataPtr->nativeDigest;
|
||||
|
||||
Reference in New Issue
Block a user