Changeset 73 for Generics/TemplateGenerics/Generic/ListImplementation.tpl
- Timestamp:
- Oct 28, 2010, 5:41:05 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Generics/TemplateGenerics/Generic/ListImplementation.tpl
r72 r73 118 118 begin 119 119 Result := 0; 120 while (Result < FCount) and CompareMem(Addr(FItems[Result]), Addr(Item), SizeOf(TListItem)) do 120 while (Result < FCount) and 121 not CompareMem(Addr(FItems[Result]), Addr(Item), SizeOf(TListItem)) do 121 122 Result := Result + 1; 122 123 if Result = FCount then Result := -1;
Note:
See TracChangeset
for help on using the changeset viewer.