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; size_t hash_value;
char* h; char* h;
int offset; int offset = 0;
public: public:
HashArchive() : Archive(true) HashArchive() : Archive(true)
{ h = (char*)&hash_value; } { h = (char*)&hash_value; }