Fix warning with usage of fmt()

This commit is contained in:
Tim Wojtulewicz 2020-08-24 15:37:08 -07:00
parent 8012914c16
commit 4a95d151df

View file

@ -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;
}
}