min Qt 6.4

This commit is contained in:
tooomm 2026-04-04 12:10:03 +02:00
parent 288a408bb0
commit 39f663aaaa
6 changed files with 5 additions and 32 deletions

View file

@ -167,11 +167,7 @@ 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();
}