summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qcollator.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-05-22 14:24:01 +0200
committerLars Knoll <lars.knoll@qt.io>2020-06-11 15:52:25 +0200
commit39e229fe13a2112dcc5d033f4535fd019aab800b (patch)
tree42ab8a99c397e22b78cbbec4b2c2346e275fb51e /src/corelib/text/qcollator.cpp
parent8ea11e0cf7f442f687089ffdf54de1f7540cb20b (diff)
Remove more QStringRef overloads that aren't required
The QStringView versions will do the job just fine :) Task-number: QTBUG-84319 Change-Id: I376b310deb27683fd98bbcc55e0f56014cacecc3 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/corelib/text/qcollator.cpp')
-rw-r--r--src/corelib/text/qcollator.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/corelib/text/qcollator.cpp b/src/corelib/text/qcollator.cpp
index 958216bde8..4bef356044 100644
--- a/src/corelib/text/qcollator.cpp
+++ b/src/corelib/text/qcollator.cpp
@@ -329,19 +329,6 @@ int QCollator::compare(const QString &s1, const QString &s2) const
/*!
\overload
- Compares \a s1 with \a s2.
-
- Returns an integer less than, equal to, or greater than zero depending on
- whether \a s1 sorts before, with or after \a s2.
- */
-int QCollator::compare(const QStringRef &s1, const QStringRef &s2) const
-{
- return compare(QStringView(s1), QStringView(s2));
-}
-
-/*!
- \overload
-
Compares \a s1 with \a s2. \a len1 and \a len2 specify the lengths of the
QChar arrays pointed to by \a s1 and \a s2.