Fix qbswap(UniqueId)


The function should be inline and noexcept, to avoid function-call
overhead when using it. It also should be defined in the same
namespace as its argument, to make ADL work.

Pick-to: 6.5
Change-Id: I01964121e043bc20abea53c00e81db26eed6308e
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Reviewed-by: André Hartmann <aha_1980@gmx.de>
commitd75f7e69e4decb6f02ad64748f3a814dbd5acd00
parent6b35032c3067a03c6f743e73ed9e563ca0068b89
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeMon, 13 Feb 2023 13:19:29 +0100