Core: Switch Hashable struct to HashAppend function

Former-commit-id: 2a20eca0e75bf4067d390f4f5e446de78f26799c
This commit is contained in:
Lynix
2015-11-18 18:28:56 +01:00
parent 00423c4211
commit 167f3e4a27
9 changed files with 45 additions and 60 deletions

View File

@@ -53,7 +53,9 @@ namespace Nz
ByteArray ComputeHash(AbstractHash* hash, const T& v)
{
hash->Begin();
Hashable<T>()(v, hash);
HashAppend(hash, v);
return hash->End();
}