* each record with managed field or with any management operator needs init table (update for symdef.pas, trecorddef.needs_inittable)

git-svn-id: trunk@35440 -
This commit is contained in:
maciej-izak 2017-02-18 18:50:57 +00:00
parent 15ba9b54c6
commit b912deae33

View File

@ -4543,7 +4543,10 @@ implementation
function trecorddef.needs_inittable : boolean;
begin
needs_inittable:=trecordsymtable(symtable).needs_init_final
{ each record with managed field or with any management operator needs
init table }
needs_inittable:=(trecordsymtable(symtable).managementoperators<>[]) or
trecordsymtable(symtable).needs_init_final
end;
function trecorddef.needs_separate_initrtti : boolean;