mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 07:57:22 -06:00
Mark move functions as noexcept
This commit is contained in:
@@ -45,7 +45,7 @@ public:
|
|||||||
|
|
||||||
Digest32() = default;
|
Digest32() = default;
|
||||||
Digest32(const Digest32 &other) = default;
|
Digest32(const Digest32 &other) = default;
|
||||||
Digest32(Digest32 &&other) = default;
|
Digest32(Digest32 &&other) noexcept = default;
|
||||||
|
|
||||||
Digest32(const UnderlyingType &nativeDigest)
|
Digest32(const UnderlyingType &nativeDigest)
|
||||||
: m_dataPtr {new Data(nativeDigest)}
|
: m_dataPtr {new Data(nativeDigest)}
|
||||||
@@ -63,7 +63,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
Digest32 &operator=(const Digest32 &other) = default;
|
Digest32 &operator=(const Digest32 &other) = default;
|
||||||
Digest32 &operator=(Digest32 &&other) = default;
|
Digest32 &operator=(Digest32 &&other) noexcept = default;
|
||||||
|
|
||||||
operator UnderlyingType() const
|
operator UnderlyingType() const
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user