mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix clang-tidy modernize-loop-convert warnings in headers
This commit is contained in:
parent
451b25cfad
commit
c0e275604f
5 changed files with 16 additions and 14 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue