small change to flush work space. writing new frags is broken rn
This commit is contained in:
parent
8d0518c2e3
commit
84bd24807d
@ -15,6 +15,11 @@ File2ZSTDW::File2ZSTDW(File2I& real) :
|
||||
ZSTD_CCtx_setParameter(_cctx.get(), ZSTD_c_checksumFlag, 1); // add extra checksums (to frames?)
|
||||
}
|
||||
|
||||
File2ZSTDW::~File2ZSTDW(void) {
|
||||
// flush remaining data (and maybe header)
|
||||
// actually nvm, write will always flush all data, so only on empty files this would be an issue
|
||||
}
|
||||
|
||||
bool File2ZSTDW::isGood(void) {
|
||||
return _real_file.isGood();
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ struct File2ZSTDW : public File2I {
|
||||
std::unique_ptr<ZSTD_CCtx, decltype(&ZSTD_freeCCtx)> _cctx{ZSTD_createCCtx(), &ZSTD_freeCCtx};
|
||||
|
||||
File2ZSTDW(File2I& real);
|
||||
virtual ~File2ZSTDW(void) {}
|
||||
virtual ~File2ZSTDW(void);
|
||||
|
||||
bool isGood(void) override;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user