Move BroFile to zeek namespace, rename to File

This commit is contained in:
Tim Wojtulewicz 2020-07-20 12:10:58 -07:00
parent bfab224d7c
commit 910aa77d95
29 changed files with 135 additions and 115 deletions

View file

@ -61,10 +61,10 @@ static const FileTypePtr& GetStringFileType() noexcept
return string_file_type;
}
Val::Val(BroFile* f) : Val({AdoptRef{}, f})
Val::Val(zeek::File* f) : Val({AdoptRef{}, f})
{}
Val::Val(BroFilePtr f)
Val::Val(zeek::FilePtr f)
: val(f.release()), type(GetStringFileType())
{
assert(val.file_val->GetType()->Tag() == TYPE_STRING);