summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qbytearray_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/text/qbytearray_p.h')
-rw-r--r--src/corelib/text/qbytearray_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/text/qbytearray_p.h b/src/corelib/text/qbytearray_p.h
index ffec6dca22..90552cb442 100644
--- a/src/corelib/text/qbytearray_p.h
+++ b/src/corelib/text/qbytearray_p.h
@@ -57,8 +57,8 @@
QT_BEGIN_NAMESPACE
// -1 because of the terminating NUL
-constexpr qsizetype MaxByteArraySize = MaxAllocSize - sizeof(std::remove_pointer<QByteArray::DataPtr>::type) - 1;
-constexpr qsizetype MaxStringSize = (MaxAllocSize - sizeof(std::remove_pointer<QByteArray::DataPtr>::type)) / 2 - 1;
+constexpr qsizetype MaxByteArraySize = MaxAllocSize - sizeof(std::remove_pointer<QByteArray::DataPointer>::type) - 1;
+constexpr qsizetype MaxStringSize = (MaxAllocSize - sizeof(std::remove_pointer<QByteArray::DataPointer>::type)) / 2 - 1;
QT_END_NAMESPACE