diff options
author | Marc Mutz <marc.mutz@qt.io> | 2021-11-26 16:07:24 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2021-11-27 01:37:06 +0000 |
commit | 23f980799d03f1522b6c7f87c2018566bcb6c996 (patch) | |
tree | 86753eedbb6efc4421f37e2cbf65da6c99e3b977 /mkspecs | |
parent | 24134d519342fdc5d05d3fe0a4b088e8ebc41d29 (diff) |
QSharedPointer: fix counter-productive QT_PREPEND_NAMESPACE use in qHash() impl
The qHash(QSharedPointer) implementation is already in QT_NAMESPACE,
if any, so explicitly qualifying the call adds no functions to the
overload set, but actually removes functions that would be found by ADL
(which is only enabled for unqualified calls).
Fix by using an unqualified call.
[ChangeLog][QtCore][QSharedPointer] The qHash(QSharedPointer<X>)
overload can now use qHash(X*) overloads found (only) through ADL
(was: ADL was disabled due to qualified lookup of qHash(X*)).
Pick-to: 6.2 5.15
Change-Id: Ic6cc47103142d48b6cdefa2cd6552a65cf1cb222
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions