mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 20:09:25 +02:00
* Removed workaround for bug #9827, since it was fixed.
git-svn-id: trunk@9549 -
This commit is contained in:
parent
b52338d0bd
commit
4b3015802a
@ -611,12 +611,8 @@ begin
|
||||
{$note TODO: fix inlining to work! InternalItems[Result]^}
|
||||
while (Result < FCount) and (PT(FList)[Result] <> Item) do
|
||||
Inc(Result);
|
||||
{$note TODO: Result := -1; does not compile }
|
||||
if Result = FCount then
|
||||
begin
|
||||
Result := 0;
|
||||
dec(Result);
|
||||
end;
|
||||
Result := -1;
|
||||
end;
|
||||
|
||||
procedure TFPGList.Insert(Index: Integer; const Item: T);
|
||||
|
Loading…
Reference in New Issue
Block a user