Skip to content

Commit

Permalink
Merge pull request #35 from cyrossignol/snapshotregistryhash
Browse files Browse the repository at this point in the history
Tweak snapshot file integrity verification
  • Loading branch information
jamescowens committed Jun 16, 2020
2 parents d469ced + b0dc902 commit f2550d8
Show file tree
Hide file tree
Showing 3 changed files with 569 additions and 306 deletions.
3 changes: 3 additions & 0 deletions src/filehash.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ class CAutoHasherFile : public CAutoFile, public CHashWriter
CHashWriter::write(pch, nSize);
}

int GetType() const { return CAutoFile::GetType(); }
int GetVersion() const { return CAutoFile::GetVersion(); }

template <typename T>
CAutoHasherFile& operator<<(const T& obj)
{
Expand Down
Loading

0 comments on commit f2550d8

Please sign in to comment.