QStringView: Remove outdated note about usage with QList

Change-Id: Id1cef09642ccde701e57e8f0a3a3d0e5fcf47e5c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Linus Jahn 2020-07-06 15:29:51 +02:00
parent 2f8df4d1a8
commit 1ecc884bfd

View File

@ -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
*/