forked from qt-creator/qt-creator
QmlJS: Fix compile with Qt6.2
Change-Id: I3f386e1a51f821f55a0eb6df929ebdd7ee3fa9f7 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -370,7 +370,7 @@ QByteArray LibraryInfo::calculateFingerprint() const
|
||||
{
|
||||
QCryptographicHash hash(QCryptographicHash::Sha1);
|
||||
auto addData = [&hash](auto p, size_t len) {
|
||||
hash.addData(QByteArrayView(reinterpret_cast<const char *>(p), len));
|
||||
hash.addData(reinterpret_cast<const char *>(p), len);
|
||||
};
|
||||
|
||||
addData(&_status, sizeof(_status));
|
||||
|
Reference in New Issue
Block a user