style(cpp): separate multiple variable declarations (#4795)

This commit is contained in:
David Lane
2026-03-01 09:02:17 -05:00
committed by GitHub
parent 2b7af2119d
commit 188f1e2959
19 changed files with 134 additions and 65 deletions

View File

@@ -1377,9 +1377,8 @@ namespace stream {
}
std::array<std::string_view, MAX_FEC_BLOCKS> fec_blocks;
decltype(fec_blocks)::iterator
fec_blocks_begin = std::begin(fec_blocks),
fec_blocks_end = std::begin(fec_blocks) + fec_blocks_needed;
auto fec_blocks_begin = std::begin(fec_blocks);
auto fec_blocks_end = std::begin(fec_blocks) + fec_blocks_needed;
BOOST_LOG(verbose) << "Generating "sv << fec_blocks_needed << " FEC blocks"sv;