mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-10 00:08:43 +02:00
* optimization of TRttiInstanceType.ResolveExtendedDeclaredProperties
This commit is contained in:
parent
e552165b7a
commit
1f19edef00
@ -6549,7 +6549,6 @@ begin
|
||||
if TP^.PropParams <> nil then
|
||||
begin
|
||||
Dec(PropCount);
|
||||
SetLength(FDeclaredProperties, PropCount);
|
||||
continue;
|
||||
end;
|
||||
Prop := TRttiProperty(GRttiPool[FUsePublishedOnly].GetByHandle(TP));
|
||||
@ -6564,6 +6563,7 @@ begin
|
||||
Inc(J);
|
||||
end;
|
||||
finally
|
||||
SetLength(FDeclaredProperties, PropCount);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user