From 39e229fe13a2112dcc5d033f4535fd019aab800b Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Fri, 22 May 2020 14:24:01 +0200 Subject: 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 --- src/corelib/io/qdebug.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/corelib/io/qdebug.cpp') diff --git a/src/corelib/io/qdebug.cpp b/src/corelib/io/qdebug.cpp index 11f2b9f3c9d..e8933b45262 100644 --- a/src/corelib/io/qdebug.cpp +++ b/src/corelib/io/qdebug.cpp @@ -633,20 +633,6 @@ QDebug &QDebug::resetFormat() \snippet code/src_corelib_io_qdebug.cpp 0 */ -/*! - \fn QDebug &QDebug::operator<<(const QStringRef &t) - - Writes the string, \a t, to the stream and returns a reference to the - stream. Normally, QDebug prints the string inside quotes and transforms - non-printable characters to their Unicode values (\\u1234). - - To print non-printable characters without transformation, enable the - noquote() functionality. Note that some QDebug backends might not be 8-bit - clean. - - See the QString overload for examples. -*/ - /*! \since 5.10 \fn QDebug &QDebug::operator<<(QStringView s) -- cgit v1.2.3