refactor
This commit is contained in:
@ -530,8 +530,8 @@ TEST(ring_buffer_open_file, read_full_file_in_partial_chunks_in_reverse) {
|
|||||||
auto nf2 = utils::file::file::open_or_create_file(dest_path);
|
auto nf2 = utils::file::file::open_or_create_file(dest_path);
|
||||||
EXPECT_TRUE(nf2);
|
EXPECT_TRUE(nf2);
|
||||||
|
|
||||||
auto total_read = std::uint64_t(0u);
|
std::uint64_t total_read{0U};
|
||||||
const auto read_size = 3u;
|
const auto read_size{3U};
|
||||||
|
|
||||||
while (total_read < fsi.size) {
|
while (total_read < fsi.size) {
|
||||||
const auto offset = fsi.size - total_read - read_size;
|
const auto offset = fsi.size - total_read - read_size;
|
||||||
|
Reference in New Issue
Block a user