mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix various compiler/linter warnings in script_opt/CPP code
This commit is contained in:
parent
e200016200
commit
3e85375010
15 changed files with 43 additions and 41 deletions
|
@ -161,7 +161,7 @@ void CPPCompile::GenFuncVarInits()
|
|||
|
||||
string hashes = "{";
|
||||
|
||||
for ( auto b : bodies )
|
||||
for ( const auto& b : bodies )
|
||||
{
|
||||
auto body = b.stmts.get();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue