diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2024-08-27 18:40:26 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2024-08-28 23:03:01 +0000 |
| commit | 877fe0e7b3aada3f99bbf0415cba9daf97b067db (patch) | |
| tree | 4636e899f6341952a4f968464a398163b58195c6 /src/corelib/kernel/qtimer.cpp | |
| parent | e0d93ed4908391c156f5f0f91eaef67f730f59bd (diff) | |
QXmlString: fix ADL swap
The classical Q_DECLARE_SHARED assumes it's placed right next to the
class in the same namespace as its argument type. If that is not the
case, then the free swap() function might not be found using ADL,
since it was defined in an outer namespace. Since 6.8, we have
NS-aware Q_DECLARE_SHARED versions, so use that.
Pick-to: 6.8
Change-Id: I2969c641b501b07b4ebb9fce46d2544bf788fc9b
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel/qtimer.cpp')
0 files changed, 0 insertions, 0 deletions
