mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
the "Capture" struct is now a class
This commit is contained in:
parent
528aa6766a
commit
b6464814c9
6 changed files with 24 additions and 8 deletions
|
@ -2018,7 +2018,7 @@ WhenInfo::WhenInfo(ExprPtr arg_cond, FuncType::CaptureList* arg_cl, bool arg_is_
|
|||
bool is_present = false;
|
||||
|
||||
for ( auto& c : *cl )
|
||||
if ( c.id == wl )
|
||||
if ( c.Id() == wl )
|
||||
{
|
||||
is_present = true;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue