diff --git a/include/lzma_stream_wrapper.hpp b/include/lzma_stream_wrapper.hpp index e54927c..82dd753 100644 --- a/include/lzma_stream_wrapper.hpp +++ b/include/lzma_stream_wrapper.hpp @@ -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;