Skip to content

Commit

Permalink
Added noexcept to set_compression_level
Browse files Browse the repository at this point in the history
  • Loading branch information
YaZasnyal committed Aug 30, 2022
1 parent c9b0f1c commit dea96a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asio_stream_compressor/detail/compression_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit dea96a8

Please sign in to comment.