Qt 6: unexport QCharRef / QByteRef
They're fully inlined classes. Change-Id: Id9e5f1a1a0b3d8ee49ba45ad2157ffa38fe265cd Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
parent
ed19fc0531
commit
046a1b72b4
@ -528,7 +528,11 @@ inline void QByteArray::squeeze()
|
||||
}
|
||||
}
|
||||
|
||||
class Q_CORE_EXPORT QByteRef {
|
||||
class
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
||||
Q_CORE_EXPORT
|
||||
#endif
|
||||
QByteRef {
|
||||
QByteArray &a;
|
||||
int i;
|
||||
inline QByteRef(QByteArray &array, int idx)
|
||||
|
@ -1044,8 +1044,11 @@ inline QString QString::fromWCharArray(const wchar_t *string, int size)
|
||||
: fromUcs4(reinterpret_cast<const uint *>(string), size);
|
||||
}
|
||||
|
||||
|
||||
class Q_CORE_EXPORT QCharRef {
|
||||
class
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
||||
Q_CORE_EXPORT
|
||||
#endif
|
||||
QCharRef {
|
||||
QString &s;
|
||||
int i;
|
||||
inline QCharRef(QString &str, int idx)
|
||||
|
Loading…
x
Reference in New Issue
Block a user