Parcourir la source

Partial revert "Immediately set the capacity"
(capacity assignments of type TFPHashObjectList)

Alligator-1 il y a 1 an
Parent
commit
b64701da1b
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  1. 0 1
      compiler/pgenutil.pas

+ 0 - 1
compiler/pgenutil.pas

@@ -2963,7 +2963,6 @@ uses
 
         { add those defs back to the pending list for which we don't yet have
           all method bodies }
-        current_module.pendingspecializations.capacity:=current_module.pendingspecializations.count+readdlist.count;
         for i:=0 to readdlist.count-1 do
           current_module.pendingspecializations.add(tstoreddef(readdlist[i]).typename,readdlist[i]);