Fix c++ standard violation (msvc complains otherwise)

This commit is contained in:
Sebastian Messmer 2018-05-16 22:56:50 -07:00
parent aeb4f8e852
commit 6a37f750f4

View File

@ -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
}; };
} }