Browse Source

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

Alligator-1 1 năm trước cách đây
mục cha
commit
b64701da1b
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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]);