the "Capture" struct is now a class

This commit is contained in:
Vern Paxson 2023-06-16 15:30:52 -07:00 committed by Arne Welzel
parent 528aa6766a
commit b6464814c9
6 changed files with 24 additions and 8 deletions

View file

@ -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;