From 79e85d01fae0858be599d7b8b55e7195b35fd2c7 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Fri, 5 May 2023 04:10:43 +0800 Subject: [PATCH] Mark move functions as noexcept --- src/base/digest32.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/base/digest32.h b/src/base/digest32.h index c4e8f26c5..1be904a2f 100644 --- a/src/base/digest32.h +++ b/src/base/digest32.h @@ -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 {