summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qdebug.h
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/io/qdebug.h
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/io/qdebug.h')
-rw-r--r--src/corelib/io/qdebug.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/corelib/io/qdebug.h b/src/corelib/io/qdebug.h
index 22ba3879f4..9ee19f5fd4 100644
--- a/src/corelib/io/qdebug.h
+++ b/src/corelib/io/qdebug.h
@@ -158,7 +158,6 @@ public:
inline QDebug &operator<<(const char* t) { stream->ts << QString::fromUtf8(t); return maybeSpace(); }
#if QT_STRINGVIEW_LEVEL < 2
inline QDebug &operator<<(const QString & t) { putString(t.constData(), uint(t.length())); return maybeSpace(); }
- inline QDebug &operator<<(const QStringRef & t) { putString(t.constData(), uint(t.length())); return maybeSpace(); }
#endif
inline QDebug &operator<<(QStringView s) { putString(s.data(), size_t(s.size())); return maybeSpace(); }
inline QDebug &operator<<(QLatin1String t) { putByteArray(t.latin1(), t.size(), ContainsLatin1); return maybeSpace(); }