diff options
Diffstat (limited to '3rdparty/lzma/CPP/7zip/Archive/Common/OutStreamWithCRC.h')
-rw-r--r-- | 3rdparty/lzma/CPP/7zip/Archive/Common/OutStreamWithCRC.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/3rdparty/lzma/CPP/7zip/Archive/Common/OutStreamWithCRC.h b/3rdparty/lzma/CPP/7zip/Archive/Common/OutStreamWithCRC.h index 115b442aa3d..09b899bbd74 100644 --- a/3rdparty/lzma/CPP/7zip/Archive/Common/OutStreamWithCRC.h +++ b/3rdparty/lzma/CPP/7zip/Archive/Common/OutStreamWithCRC.h @@ -28,6 +28,7 @@ public: _calculate = calculate; _crc = CRC_INIT_VAL; } + void EnableCalc(bool calculate) { _calculate = calculate; } void InitCRC() { _crc = CRC_INIT_VAL; } UInt64 GetSize() const { return _size; } UInt32 GetCRC() const { return CRC_GET_DIGEST(_crc); } |