mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Fix clang-tidy finding in recent script_opt changes
This commit is contained in:
parent
ef9ffda2ef
commit
9fb0f5e76d
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ void CPPCompile::CreateFunction(const FuncTypePtr& ft, const ProfileFunc* pf, co
|
||||||
vector<string> attr_groups;
|
vector<string> attr_groups;
|
||||||
|
|
||||||
if ( e_g )
|
if ( e_g )
|
||||||
for ( auto g : *e_g ) {
|
for ( const auto& g : *e_g ) {
|
||||||
const auto& name = g->GetName();
|
const auto& name = g->GetName();
|
||||||
|
|
||||||
if ( g->GetEventGroupKind() == EventGroupKind::Module ) {
|
if ( g->GetEventGroupKind() == EventGroupKind::Module ) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue