QMessageAuthenticationCodePrivate: mark ctor explicit and noexcept
Both members, QCryptographicHashPrivate and QSmallByteArray, are nothrow-constructible. Pick-to: 6.7 Change-Id: I59fa93db15906002f230eb12b8639a595ef559cf Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
ede58f3670
commit
b8b84b9d91
@ -1338,7 +1338,7 @@ static HashBlock xored(const HashBlock &block, quint8 val) noexcept
|
|||||||
class QMessageAuthenticationCodePrivate
|
class QMessageAuthenticationCodePrivate
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
QMessageAuthenticationCodePrivate(QCryptographicHash::Algorithm m)
|
explicit QMessageAuthenticationCodePrivate(QCryptographicHash::Algorithm m) noexcept
|
||||||
: messageHash(m)
|
: messageHash(m)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user