Skip to content

Commit

Permalink
Add default value to decompress().
Browse files Browse the repository at this point in the history
  • Loading branch information
tmaklin committed Apr 22, 2022
1 parent ce7ee38 commit 1e944a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/lzma_stream_wrapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class lzma_stream_wrapper : public lzma_stream, public stream_wrapper {
}
~lzma_stream_wrapper() { lzma_end(this); }

int decompress(const int) override {
int decompress(const int = 0) override {
ret = lzma_code(this, LZMA_RUN);
if (ret != LZMA_OK && ret != LZMA_STREAM_END && ret) throw lzmaException(ret);
return (int)ret;
Expand Down

0 comments on commit 1e944a4

Please sign in to comment.