diff --git a/include/asio_stream_compressor/detail/compression_core.h b/include/asio_stream_compressor/detail/compression_core.h index 3ab949e..41b4a9e 100644 --- a/include/asio_stream_compressor/detail/compression_core.h +++ b/include/asio_stream_compressor/detail/compression_core.h @@ -104,7 +104,7 @@ class compression_core : public Allocator return stats_; } - error_code set_compression_level(int level) + error_code set_compression_level(int level) noexcept { return zstd_cctx_set_parameter(ZSTD_c_compressionLevel, level); }