diff --git a/src/zstd.cpp b/src/zstd.cpp index 20cc00980..aef9b14ee 100644 --- a/src/zstd.cpp +++ b/src/zstd.cpp @@ -56,7 +56,7 @@ void zstd_error::check BOOST_PREVENT_MACRO_SUBSTITUTION(size_t error) namespace detail { zstd_base::zstd_base() - : cstream_(ZSTD_createCStream()), dstream_(ZSTD_createDStream()), in_(new ZSTD_inBuffer), out_(new ZSTD_outBuffer), eof_(0) + : cstream_(ZSTD_createCStream()), dstream_(ZSTD_createDStream()), in_(new ZSTD_inBuffer), out_(new ZSTD_outBuffer), eof_(0), level(zstd::default_compression) { } zstd_base::~zstd_base()