QNativeIpcKey: add missing noexcept to swap

Pick-to: 6.6
Change-Id: I57d5f22823597a56d93fc2f8f30b538684ce77ad
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
This commit is contained in:
Dennis Oberst 2023-07-12 16:12:04 +02:00
parent 3ad359d44f
commit 56a776da40

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