summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools/qstringapisymmetry
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-04-06 13:57:19 +0200
committerMarc Mutz <marc.mutz@kdab.com>2016-06-08 21:42:33 +0000
commita7ae92e67dd15b0dde25c8bca2b1e16c983896bf (patch)
tree6acd55cea77520d9a4cbeef435aa1d16cbf359bc /tests/auto/corelib/tools/qstringapisymmetry
parentf0d9eed0649f96e2ea1d289e66d7e1a661a2d982 (diff)
QStringRef: add missing relational operators against QByteArray
QStringRef op QByteArray was ambiguous between bool QStringRef::operator op(const char*) const bool operator op(const QStringRef&, const QString&) QByteArray op QStringRef was ambiguous between bool operator op(const QString&, const QStringRef&) bool operator op(const char*, const QStringRef&) Fix by providing more overloads. [ChangeLog][QtCore] Disambiguated the relational operators comparing QByteArray with QStringRef (and vice versa). Change-Id: I1cfa9ecfdd8b4102e652593faf35f6098289bc34 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/corelib/tools/qstringapisymmetry')
-rw-r--r--tests/auto/corelib/tools/qstringapisymmetry/tst_qstringapisymmetry.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/auto/corelib/tools/qstringapisymmetry/tst_qstringapisymmetry.cpp b/tests/auto/corelib/tools/qstringapisymmetry/tst_qstringapisymmetry.cpp
index 5fd484ab03..7305a00d94 100644
--- a/tests/auto/corelib/tools/qstringapisymmetry/tst_qstringapisymmetry.cpp
+++ b/tests/auto/corelib/tools/qstringapisymmetry/tst_qstringapisymmetry.cpp
@@ -58,9 +58,6 @@ QString toQString(const QStringRef &ref) { return ref.toString(); }
MAKE_RELOP(>=, A1, A2) \
/*end*/
-MAKE_ALL(QStringRef, QByteArray)
-MAKE_ALL(QByteArray, QStringRef)
-
MAKE_ALL(QByteArray, QChar)
MAKE_ALL(QByteArray, QLatin1String)