mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 04:28:20 +00:00
Deprecate TableVal::Attrs(), replace with GetAttrs()
This commit is contained in:
parent
dc03f0bb83
commit
ad224419ad
3 changed files with 7 additions and 3 deletions
|
@ -3757,8 +3757,7 @@ IntrusivePtr<Val> TableCoerceExpr::Fold(Val* v) const
|
|||
if ( tv->Size() > 0 )
|
||||
RuntimeErrorWithCallStack("coercion of non-empty table/set");
|
||||
|
||||
return make_intrusive<TableVal>(GetType<TableType>(),
|
||||
IntrusivePtr{NewRef{}, tv->Attrs()});
|
||||
return make_intrusive<TableVal>(GetType<TableType>(), tv->GetAttrs());
|
||||
}
|
||||
|
||||
VectorCoerceExpr::VectorCoerceExpr(IntrusivePtr<Expr> arg_op,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue