Fix various compiler/linter warnings in script_opt/CPP code

This commit is contained in:
Jon Siwek 2021-05-03 18:14:41 -07:00 committed by Vern Paxson
parent e200016200
commit 3e85375010
15 changed files with 43 additions and 41 deletions

View file

@ -161,7 +161,7 @@ void CPPCompile::GenFuncVarInits()
string hashes = "{";
for ( auto b : bodies )
for ( const auto& b : bodies )
{
auto body = b.stmts.get();