Fix c++ standard violation (msvc complains otherwise)
This commit is contained in:
parent
aeb4f8e852
commit
6a37f750f4
@ -17,8 +17,8 @@ Hash hash(const Data& data, Salt salt) {
|
|||||||
hasher.Final(static_cast<CryptoPP::byte*>(digest.data()));
|
hasher.Final(static_cast<CryptoPP::byte*>(digest.data()));
|
||||||
|
|
||||||
return Hash{
|
return Hash{
|
||||||
.digest = digest,
|
digest,
|
||||||
.salt = salt
|
salt
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user