missing overloads for archive (byte)

This commit is contained in:
Joachim Schoeberl 2021-06-24 13:21:43 +02:00
parent f6befbbe08
commit 72fb819def

View File

@ -953,6 +953,7 @@ namespace ngcore
{ h = (char*)&hash_value; } { h = (char*)&hash_value; }
using Archive::operator&; using Archive::operator&;
Archive & operator & (std::byte & d) override { return ApplyHash(d); }
Archive & operator & (float & f) override { return ApplyHash(f); } Archive & operator & (float & f) override { return ApplyHash(f); }
Archive & operator & (double & d) override { return ApplyHash(d); } Archive & operator & (double & d) override { return ApplyHash(d); }
Archive & operator & (int & i) override { return ApplyHash(i); } Archive & operator & (int & i) override { return ApplyHash(i); }