diff --git a/components/core/src/clp/streaming_compression/lzma/Compressor.cpp b/components/core/src/clp/streaming_compression/lzma/Compressor.cpp index 071ad77b8..f5c0fedd4 100644 --- a/components/core/src/clp/streaming_compression/lzma/Compressor.cpp +++ b/components/core/src/clp/streaming_compression/lzma/Compressor.cpp @@ -17,13 +17,13 @@ namespace { using clp::streaming_compression::lzma::Compressor; -auto is_flush_action(lzma_action action) { +auto is_flush_action(lzma_action action) -> bool { return LZMA_SYNC_FLUSH == action || LZMA_FULL_FLUSH == action || LZMA_FULL_BARRIER == action || LZMA_FINISH == action; } /** - * Initialize the Lzma compression stream + * Initialize the LZMA compression stream * @param strm A pre-allocated `lzma_stream` object * @param compression_level * @param dict_size Dictionary size that specifies how many bytes of the diff --git a/components/core/src/clp/streaming_compression/lzma/Compressor.hpp b/components/core/src/clp/streaming_compression/lzma/Compressor.hpp index 045345829..593c26835 100644 --- a/components/core/src/clp/streaming_compression/lzma/Compressor.hpp +++ b/components/core/src/clp/streaming_compression/lzma/Compressor.hpp @@ -100,7 +100,7 @@ class Compressor : public ::clp::streaming_compression::Compressor { /** * Invoke lzma_code() repeatedly with the given flushing action until all - * encoded data is made available at the output block + * encoded data is made available at the output block buffer * * Once flushing starts, the workflow action needs to stay the same until * flushing is signaled completed by LZMA (aka LZMA_STREAM_END is reached). @@ -111,7 +111,7 @@ class Compressor : public ::clp::streaming_compression::Compressor { auto flush_lzma(lzma_action flush_action) -> void; /** - * Flushes the current compressed data in the lzma output buffer to the + * Flushes the current compressed data in the LZMA output buffer to the * output file handler. Reset the compression buffer to receive new data. */ auto flush_stream_output_block_buffer() -> void;