summaryrefslogtreecommitdiffstats
path: root/mkspecs/macx-clang-32/qplatformdefs.h
diff options
context:
space:
mode:
authorSona Kurazyan <sona.kurazyan@qt.io>2020-08-04 16:13:13 +0200
committerSona Kurazyan <sona.kurazyan@qt.io>2020-08-04 19:52:08 +0200
commit883f2dd81f8d85d52130aece540cdf9efa3d0069 (patch)
tree832b2e8a0dda77c1707d89da94ff3b854fbd3322 /mkspecs/macx-clang-32/qplatformdefs.h
parent8a919474230d8fcbafb4a70def58bd471ab47c9c (diff)
Avoid possible ambiguities with QByteArrayView's comparison operators
QByteArrayView's comparison operators are declared in the global namespace, which can collide with the ones declared for other types that are implicitly convertible to QByteArrayView (see the example attached to the bugreport). Changing them to be hidden friends will make them visible only when at least one of the operands is a QByteArrayView, so the ambiguity will be avoided. Fixes: QTBUG-85880 Change-Id: Ic3582269d9bda9a2105336ef0f044ea619af37ba Reviewed-by: Marco Bubke <marco.bubke@qt.io> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'mkspecs/macx-clang-32/qplatformdefs.h')
0 files changed, 0 insertions, 0 deletions