mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08: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
|
@ -370,7 +370,7 @@ void ZAMCompiler::Dump()
|
|||
if ( remapped_frame )
|
||||
printf("Original frame for %s:\n", func->Name());
|
||||
|
||||
for ( auto elem : frame_layout1 )
|
||||
for ( const auto& elem : frame_layout1 )
|
||||
printf("frame[%d] = %s\n", elem.second, elem.first->Name());
|
||||
|
||||
if ( remapped_frame )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue