mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 07:08:19 +00:00
script_opt: Use Func::GetName()
This commit is contained in:
parent
89127722ea
commit
71e9c8d436
16 changed files with 49 additions and 48 deletions
|
@ -19,7 +19,7 @@ void CPPCompile::DeclareFunc(const FuncInfo& func) {
|
|||
CreateFunction(f->GetType(), pf, fname, body, priority, nullptr, f->Flavor());
|
||||
|
||||
if ( f->GetBodies().size() == 1 )
|
||||
compiled_simple_funcs[f->Name()] = fname;
|
||||
compiled_simple_funcs[f->GetName()] = fname;
|
||||
}
|
||||
|
||||
void CPPCompile::DeclareLambda(const LambdaExpr* l, const ProfileFunc* pf) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue