Rework hashes (also fix Fletcher16 and CRC64)
This commit is contained in:
@@ -732,9 +732,9 @@ namespace Nz
|
||||
return m_array >= rhs.m_array;
|
||||
}
|
||||
|
||||
inline bool HashAppend(AbstractHash* hash, const ByteArray& byteArray)
|
||||
inline bool HashAppend(AbstractHash& hash, const ByteArray& byteArray)
|
||||
{
|
||||
hash->Append(byteArray.GetConstBuffer(), byteArray.GetSize());
|
||||
hash.Append(byteArray.GetConstBuffer(), byteArray.GetSize());
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user