mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 16:09:25 +02:00
* Converted user defined note to info message.
git-svn-id: trunk@9551 -
This commit is contained in:
parent
4b3015802a
commit
79a1b1a485
@ -608,7 +608,7 @@ end;
|
|||||||
function TFPGList.IndexOf(const Item: T): Integer;
|
function TFPGList.IndexOf(const Item: T): Integer;
|
||||||
begin
|
begin
|
||||||
Result := 0;
|
Result := 0;
|
||||||
{$note TODO: fix inlining to work! InternalItems[Result]^}
|
{$info TODO: fix inlining to work! InternalItems[Result]^}
|
||||||
while (Result < FCount) and (PT(FList)[Result] <> Item) do
|
while (Result < FCount) and (PT(FList)[Result] <> Item) do
|
||||||
Inc(Result);
|
Inc(Result);
|
||||||
if Result = FCount then
|
if Result = FCount then
|
||||||
|
Loading…
Reference in New Issue
Block a user