QMessageAuthenticationCodePrivate: mark ctor explicit and noexcept
Both members, QCryptographicHashPrivate and QSmallByteArray, are nothrow-constructible. Change-Id: I59fa93db15906002f230eb12b8639a595ef559cf Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit b8b84b9d917635b6b5e4632a152cd51a23894617) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
6afec142a0
commit
af91a1b778
@ -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