From 2373c70e2d92e978c9dc208e056639bf8fdab764 Mon Sep 17 00:00:00 2001 From: Dennis Oberst Date: Wed, 12 Jul 2023 16:12:04 +0200 Subject: [PATCH] QNativeIpcKey: add missing noexcept to swap Change-Id: I57d5f22823597a56d93fc2f8f30b538684ce77ad Reviewed-by: Thiago Macieira Reviewed-by: Marc Mutz (cherry picked from commit 56a776da406c710de3dbf8832b7c20add2e4ca3a) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/ipc/qtipccommon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/ipc/qtipccommon.h b/src/corelib/ipc/qtipccommon.h index b58de9ed0b8..c14c6dc7872 100644 --- a/src/corelib/ipc/qtipccommon.h +++ b/src/corelib/ipc/qtipccommon.h @@ -79,7 +79,7 @@ public: } QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(QNativeIpcKey) - void swap(QNativeIpcKey &other) + void swap(QNativeIpcKey &other) noexcept { std::swap(d, other.d); key.swap(other.key);