QBAV/QSV: remove a historical note

Both QByteArray and QString can contain more than 2^32 elements on 64
bits platforms, so the warning does not apply any more.

Change-Id: I4604c1fe225922a0df7e78135eeb5a1e2b84fea3
Pick-to: 6.2 6.3
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
bb10
Giuseppe D'Angelo 2022-03-27 23:53:07 +02:00
parent ad7a738e6d
commit d063b2b131
2 changed files with 0 additions and 8 deletions

View File

@ -329,10 +329,6 @@
The return value will be a null QByteArray if and only if this byte array
view is null.
\warning QByteArrayView can store data with more than 2\sup{31} bytes while
QByteArray cannot. Calling this function on a byte array view for which size()
returns a value greater than \c{INT_MAX / 2} constitutes undefined behavior.
*/
/*!

View File

@ -343,10 +343,6 @@ QT_BEGIN_NAMESPACE
Returns a deep copy of this string view's data as a QString.
The return value will be the null QString if and only if this string view is null.
\warning QStringView can store strings with more than 2\sup{30} characters
while QString cannot. Calling this function on a string view for which size()
returns a value greater than \c{INT_MAX / 2} constitutes undefined behavior.
*/
/*!