mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
Deprecate Expr::Type(), replace with GetType()
This commit is contained in:
parent
1eb723fc9d
commit
e3f7b38890
8 changed files with 248 additions and 253 deletions
|
@ -795,7 +795,7 @@ bool check_built_in_call(BuiltinFunc* f, CallExpr* call)
|
|||
}
|
||||
|
||||
const Expr* fmt_str_arg = args[0];
|
||||
if ( fmt_str_arg->Type()->Tag() != TYPE_STRING )
|
||||
if ( fmt_str_arg->GetType()->Tag() != TYPE_STRING )
|
||||
{
|
||||
call->Error("first argument to fmt() needs to be a format string");
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue