mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix clang-tidy performance-avoid-endl warnings in headers
This commit is contained in:
parent
2abb7830a5
commit
89ac0cb418
1 changed files with 2 additions and 1 deletions
|
@ -937,8 +937,9 @@ public:
|
||||||
for ( int idx = 0; idx < Capacity(); idx++ )
|
for ( int idx = 0; idx < Capacity(); idx++ )
|
||||||
if ( ! table[idx].Empty() ) {
|
if ( ! table[idx].Empty() ) {
|
||||||
std::string s((char*)table[idx].GetKey(), table[idx].key_size);
|
std::string s((char*)table[idx].GetKey(), table[idx].key_size);
|
||||||
f << s << std::endl;
|
f << s << "\n";
|
||||||
}
|
}
|
||||||
|
f << std::flush;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue