mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
Fix warning with usage of fmt()
This commit is contained in:
parent
8012914c16
commit
4a95d151df
1 changed files with 3 additions and 3 deletions
|
@ -2448,9 +2448,9 @@ ValPtr AssignExpr::InitVal(const zeek::Type* t, ValPtr aggr) const
|
|||
}
|
||||
else
|
||||
{
|
||||
Error(fmt("type mismatch in table value initialization: "
|
||||
"assigning '%s' to table with values of type '%s'",
|
||||
type_name(op2->GetType()->Tag()), type_name(yt->Tag())));
|
||||
Error(util::fmt("type mismatch in table value initialization: "
|
||||
"assigning '%s' to table with values of type '%s'",
|
||||
type_name(op2->GetType()->Tag()), type_name(yt->Tag())));
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue