QMessageAuthenticationCode: make Private::method member const
Like in QCryptographicHash, it's never re-set, so, like there, make it immutable. Pick-to: 6.5 Change-Id: I88f3dc15febffa8950256aedc5e8d1385fc86ddd Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
parent
d235953a82
commit
dff0d5133f
@ -991,7 +991,7 @@ public:
|
||||
QByteArray result;
|
||||
QBasicMutex finalizeMutex;
|
||||
QCryptographicHash messageHash;
|
||||
QCryptographicHash::Algorithm method;
|
||||
const QCryptographicHash::Algorithm method;
|
||||
bool messageHashInited;
|
||||
|
||||
void initMessageHash();
|
||||
|
Loading…
x
Reference in New Issue
Block a user