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);