mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 04:28:20 +00:00
Fix a swath of AUTO_CAUSES_COPY issues reported by Coverity
This commit is contained in:
parent
f631551ffb
commit
2abc82722f
7 changed files with 9 additions and 9 deletions
|
@ -120,7 +120,7 @@ bool WriterBackend::WriterInfo::FromBroker(broker::data d)
|
|||
rotation_interval = *brotation_interval;
|
||||
network_time = *bnetwork_time;
|
||||
|
||||
for ( auto i : *bconfig )
|
||||
for ( const auto& i : *bconfig )
|
||||
{
|
||||
auto k = broker::get_if<std::string>(&i.first);
|
||||
auto v = broker::get_if<std::string>(&i.second);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue