summaryrefslogtreecommitdiff
path: root/src/buildtool/storage/file_chunker.hpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-09-30 12:16:43 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-10-07 13:37:39 +0200
commitce23db59c6399199fa55b4b7dc8880522e2f1bca (patch)
tree5b77d3c84289f023cbe6f4a81cf391a0087fe660 /src/buildtool/storage/file_chunker.hpp
parente5d7cb5ce5b9cc40b0c56b18980a4234118c1739 (diff)
downloadjustbuild-ce23db59c6399199fa55b4b7dc8880522e2f1bca.tar.gz
Enable readability-redundant-member-init check.
Diffstat (limited to 'src/buildtool/storage/file_chunker.hpp')
-rw-r--r--src/buildtool/storage/file_chunker.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/buildtool/storage/file_chunker.hpp b/src/buildtool/storage/file_chunker.hpp
index 914de3f0..4a7e99e4 100644
--- a/src/buildtool/storage/file_chunker.hpp
+++ b/src/buildtool/storage/file_chunker.hpp
@@ -83,10 +83,10 @@ class FileChunker {
const std::uint32_t min_chunk_size_{};
const std::uint32_t average_chunk_size_{};
const std::uint32_t max_chunk_size_{};
- std::ifstream stream_{}; // File stream to be splitted.
- std::string buffer_{}; // Buffer for the file content.
- std::size_t size_{0}; // Current size of the buffer.
- std::size_t pos_{0}; // Current read position within the buffer.
+ std::ifstream stream_; // File stream to be splitted.
+ std::string buffer_; // Buffer for the file content.
+ std::size_t size_{0}; // Current size of the buffer.
+ std::size_t pos_{0}; // Current read position within the buffer.
/// @brief Find the next chunk boundary from the current read position
/// within the buffer.