fix missing initial value for offset in HashArchive

This commit is contained in:
Christopher Lackner 2020-09-01 11:59:37 +02:00
parent 20b82ae7af
commit a8062a6f36

View File

@ -918,7 +918,7 @@ namespace ngcore
{
size_t hash_value;
char* h;
int offset;
int offset = 0;
public:
HashArchive() : Archive(true)
{ h = (char*)&hash_value; }