Mark move functions as noexcept

This commit is contained in:
Chocobo1
2023-05-05 04:10:43 +08:00
parent e408973ee6
commit 79e85d01fa

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
{