1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-10 23:07:59 +00:00

Mark move functions as noexcept

This commit is contained in:
Chocobo1 2023-05-05 04:10:43 +08:00
parent e408973ee6
commit 79e85d01fa
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C

View File

@ -45,7 +45,7 @@ public:
Digest32() = default;
Digest32(const Digest32 &other) = default;
Digest32(Digest32 &&other) = default;
Digest32(Digest32 &&other) noexcept = default;
Digest32(const UnderlyingType &nativeDigest)
: m_dataPtr {new Data(nativeDigest)}
@ -63,7 +63,7 @@ public:
}
Digest32 &operator=(const Digest32 &other) = default;
Digest32 &operator=(Digest32 &&other) = default;
Digest32 &operator=(Digest32 &&other) noexcept = default;
operator UnderlyingType() const
{