Skip to content

Commit

Permalink
Merge pull request #19 from tmaklin/old-zstd-support
Browse files Browse the repository at this point in the history
Support zsdtd <v1.5.0
  • Loading branch information
tmaklin authored Jan 18, 2023
2 parents 61bd5ce + b60a3e8 commit fdfcea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/zstd_stream_wrapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ namespace detail {
class zstd_stream_wrapper : public stream_wrapper {
public:
zstd_stream_wrapper(const bool _isInput = true,
const int level = ZSTD_defaultCLevel(), const int = 0)
const int level = ZSTD_CLEVEL_DEFAULT, const int = 0)
: isInput(_isInput) {
if (this->isInput) {
this->dctx = ZSTD_createDCtx();
Expand Down

0 comments on commit fdfcea4

Please sign in to comment.