Deprecate BroFile::FType(), replace with GetType()

This commit is contained in:
Jon Siwek 2020-05-15 18:25:45 -07:00
parent 688bed97bc
commit 6aa1d0468d
2 changed files with 5 additions and 1 deletions

View file

@ -63,7 +63,7 @@ Val::Val(BroFile* f) : Val({AdoptRef{}, f})
Val::Val(IntrusivePtr<BroFile> f)
: val(f.release()), type(GetStringFileType())
{
assert(val.file_val->FType()->Tag() == TYPE_STRING);
assert(val.file_val->GetType()->Tag() == TYPE_STRING);
}
Val::~Val()