Ignore:
Timestamp:
Aug 23, 2011, 10:04:27 AM (13 years ago)
Author:
george
Message:
  • Added: Test of method EqualTo in demo for TListInteger.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Generics/TemplateGenerics/Generic/GenericList.inc

    r251 r270  
    374374    I := 0;
    375375    while I < Count do begin
    376       if not CompareMem(Addr(FItems[I]), Addr(List.FItems[I]), SizeOf(TGListItem)) then begin
     376      if not CompareMem(@FItems[I], @List.FItems[I], SizeOf(TGListItem)) then begin
    377377        Result := False;
    378378        Break;
Note: See TracChangeset for help on using the changeset viewer.