diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-05-22 14:24:01 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2020-06-11 15:52:25 +0200 |
commit | 39e229fe13a2112dcc5d033f4535fd019aab800b (patch) | |
tree | 42ab8a99c397e22b78cbbec4b2c2346e275fb51e /src/corelib/serialization/qtextstream.cpp | |
parent | 8ea11e0cf7f442f687089ffdf54de1f7540cb20b (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/serialization/qtextstream.cpp')
-rw-r--r-- | src/corelib/serialization/qtextstream.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/corelib/serialization/qtextstream.cpp b/src/corelib/serialization/qtextstream.cpp index 5dd388c70c..3f0c25fd17 100644 --- a/src/corelib/serialization/qtextstream.cpp +++ b/src/corelib/serialization/qtextstream.cpp @@ -2542,21 +2542,6 @@ QTextStream &QTextStream::operator<<(QLatin1String string) } /*! - \since 5.6 - \overload - - Writes \a string to the stream, and returns a reference to the - QTextStream. -*/ -QTextStream &QTextStream::operator<<(const QStringRef &string) -{ - Q_D(QTextStream); - CHECK_VALID_STREAM(*this); - d->putString(string.data(), string.size()); - return *this; -} - -/*! \overload Writes \a array to the stream. The contents of \a array are |