Fix clang-tidy modernize-loop-convert warnings in headers

This commit is contained in:
Tim Wojtulewicz 2025-06-09 19:15:23 -07:00
parent 451b25cfad
commit c0e275604f
5 changed files with 16 additions and 14 deletions

View file

@ -333,8 +333,8 @@ protected:
struct BOF_Buffer {
BOF_Buffer() : full(false), size(0) {}
~BOF_Buffer() {
for ( size_t i = 0; i < chunks.size(); ++i )
delete chunks[i];
for ( auto* chunk : chunks )
delete chunk;
}
bool full;