summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qbytearraylist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/text/qbytearraylist.h')
-rw-r--r--src/corelib/text/qbytearraylist.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/text/qbytearraylist.h b/src/corelib/text/qbytearraylist.h
index c4985047fa..de5546c8ce 100644
--- a/src/corelib/text/qbytearraylist.h
+++ b/src/corelib/text/qbytearraylist.h
@@ -58,10 +58,10 @@ typedef QMutableListIterator<QByteArray> QMutableByteArrayListIterator;
#ifndef Q_CLANG_QDOC
namespace QtPrivate {
-#if QT_REMOVED_SINCE(6, 3)
+#if QT_REMOVED_SINCE(6, 3) && QT_POINTER_SIZE != 4
QByteArray Q_CORE_EXPORT QByteArrayList_join(const QByteArrayList *that, const char *separator, int separatorLength);
#endif
- QByteArray Q_CORE_EXPORT QByteArrayList_join(const QByteArrayList *that, QByteArrayView separator);
+ QByteArray Q_CORE_EXPORT QByteArrayList_join(const QByteArrayList *that, const char *sep, qsizetype len);
}
#endif
@@ -82,7 +82,7 @@ public:
QByteArray join(QByteArrayView sep = {}) const
{
- return QtPrivate::QByteArrayList_join(self(), sep);
+ return QtPrivate::QByteArrayList_join(self(), sep.data(), sep.size());
}
Q_WEAK_OVERLOAD
inline QByteArray join(const QByteArray &sep) const