Skip to content

Commit

Permalink
Use ZSTD_CLEVEL_DEFAULT instead of ZSTD_defaultCLevel() (support zstd…
Browse files Browse the repository at this point in the history
… < v1.5.0, see #18).
  • Loading branch information
tmaklin committed Jan 18, 2023
1 parent 61bd5ce commit b60a3e8
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 b60a3e8

Please sign in to comment.