summaryrefslogtreecommitdiffstats
path: root/src/corelib/text
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2020-07-06 15:29:51 +0200
committerLinus Jahn <lnj@kaidan.im>2020-07-12 21:07:05 +0200
commit1ecc884bfdb050378d25f9b6141c4c55499e2fb7 (patch)
tree970b9599031b5587db79e65a5a532c676d5e5ec9 /src/corelib/text
parent2f8df4d1a87df9dd67913b016171dac20839d16e (diff)
QStringView: Remove outdated note about usage with QList
Change-Id: Id1cef09642ccde701e57e8f0a3a3d0e5fcf47e5c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/text')
-rw-r--r--src/corelib/text/qstringview.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/corelib/text/qstringview.cpp b/src/corelib/text/qstringview.cpp
index 4ad8a8f38f..a36a98fca4 100644
--- a/src/corelib/text/qstringview.cpp
+++ b/src/corelib/text/qstringview.cpp
@@ -105,10 +105,6 @@ QT_BEGIN_NAMESPACE
allowed in \c constexpr functions). You can use an indexed loop and/or utf16() in
\c constexpr contexts instead.
- \note We strongly discourage the use of QList<QStringView>,
- because QList is a very inefficient container for QStringViews (it would heap-allocate
- every element). Use QList (or std::vector) to hold QStringViews instead.
-
\sa QString, QStringRef
*/