Move bro_broker code to zeek::Broker namespace

This commit is contained in:
Tim Wojtulewicz 2020-08-01 10:49:16 -07:00
parent cba1bc18a5
commit f1cfd5aa2b
18 changed files with 420 additions and 329 deletions

View file

@ -4834,7 +4834,7 @@ ValPtr CastExpr::Eval(Frame* f) const
GetType()->Describe(&d);
d.Add("'");
if ( same_type(v->GetType(), bro_broker::DataVal::ScriptDataType()) &&
if ( same_type(v->GetType(), zeek::Broker::detail::DataVal::ScriptDataType()) &&
! v->AsRecordVal()->GetField(0) )
d.Add(" (nil $data field)");