Fix typo in QByteArray(QConstByteArrayData) constructor
There is no "str" member in QConstByteArrayData, it should be "ba". Change-Id: Ife76460e9332733480c1ceded21e78388656092d Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
This commit is contained in:
parent
3d2c8d76ec
commit
9c1680a7ed
@ -378,7 +378,7 @@ public:
|
||||
|
||||
template <int n>
|
||||
inline QByteArray(const QConstByteArrayData<n> &dd)
|
||||
: d(const_cast<QByteArrayData *>(&dd.str)) {}
|
||||
: d(const_cast<QByteArrayData *>(&dd.ba)) {}
|
||||
template <int N>
|
||||
Q_DECL_CONSTEXPR inline QByteArray(QConstByteArrayDataPtr<N> dd)
|
||||
: d(const_cast<QByteArrayData *>(&dd.ptr->ba)) {}
|
||||
|
Loading…
Reference in New Issue
Block a user