mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
use qt6 in arch builds (#4691)
* use qt6 in arch builds * fix 6.4.0 deprecations
This commit is contained in:
parent
dec2a252fa
commit
3d4858b840
3 changed files with 11 additions and 6 deletions
|
|
@ -167,7 +167,11 @@ bool QxtHmac::verify(const QByteArray& otherInner)
|
|||
void QxtHmac::addData(const char* data, int length)
|
||||
{
|
||||
Q_ASSERT(qxt_d().opad.size());
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(6, 3, 0))
|
||||
qxt_d().ihash->addData(QByteArrayView(data, length));
|
||||
#else
|
||||
qxt_d().ihash->addData(data, length);
|
||||
#endif
|
||||
qxt_d().result.clear();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue