mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Fix clang-tidy performance-inefficient-vector-operation warnings
This commit is contained in:
parent
b8e28abb97
commit
6196950567
4 changed files with 5 additions and 0 deletions
|
@ -678,6 +678,7 @@ void Manager::DoTerminate() {
|
|||
iosource_mgr->UnregisterFd(bstate->loggerQueue->FlareFd(), this);
|
||||
|
||||
vector<string> stores_to_close;
|
||||
stores_to_close.reserve(data_stores.size());
|
||||
|
||||
for ( auto& x : data_stores )
|
||||
stores_to_close.push_back(x.first);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue