QNativeIpcKey: add missing noexcept to swap

Change-Id: I57d5f22823597a56d93fc2f8f30b538684ce77ad
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit 56a776da406c710de3dbf8832b7c20add2e4ca3a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Dennis Oberst 2023-07-12 16:12:04 +02:00 committed by Qt Cherry-pick Bot
parent f329934052
commit 2373c70e2d

View File

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