summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qbytearray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/text/qbytearray.cpp')
-rw-r--r--src/corelib/text/qbytearray.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/text/qbytearray.cpp b/src/corelib/text/qbytearray.cpp
index adf8041b542..768c3cf67c9 100644
--- a/src/corelib/text/qbytearray.cpp
+++ b/src/corelib/text/qbytearray.cpp
@@ -1421,10 +1421,9 @@ QByteArray &QByteArray::operator=(const char *str)
*/
/*! \fn qsizetype QByteArray::max_size()
+ \fn qsizetype QByteArray::maxSize()
\since 6.8
- This function is provided for STL compatibility.
-
It returns the maximum number of elements that the byte array can
theoretically hold. In practice, the number can be much smaller,
limited by the amount of memory available to the system.