Browse Source

Mark move functions as noexcept

adaptive-webui-19844
Chocobo1 2 years ago
parent
commit
79e85d01fa
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 4
      src/base/digest32.h

4
src/base/digest32.h

@ -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
{ {

Loading…
Cancel
Save