mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-05 10:37:58 +02:00
* Make argument aPositions const in TFileSearchMatch.create
This commit is contained in:
parent
d1374fe7cb
commit
60d8403bcd
@ -28,7 +28,7 @@ Type
|
||||
FFileName: string;
|
||||
FMatchPositions : TMatchPositionArray;
|
||||
Public
|
||||
Constructor create(const aFileName : string; aEntry : TFileEntry; aPositions : TMatchPositionArray);
|
||||
Constructor create(const aFileName : string; aEntry : TFileEntry; const aPositions : TMatchPositionArray);
|
||||
Property FileName : string Read FFileName;
|
||||
Property Entry : TFileEntry Read FEntry;
|
||||
Property MatchPositions : TMatchPositionArray Read FMatchPositions;
|
||||
@ -125,7 +125,7 @@ uses Controls, StrUtils, IDEMsgIntf, IDEExternToolIntf, LazConfigStorage;
|
||||
{ TFileSearchMatch }
|
||||
|
||||
constructor TFileSearchMatch.create(const aFileName: string;
|
||||
aEntry: TFileEntry; aPositions: TMatchPositionArray);
|
||||
aEntry: TFileEntry; const aPositions: TMatchPositionArray);
|
||||
begin
|
||||
FFileName:=aFileName;
|
||||
FEntry:=aEntry;
|
||||
|
Loading…
Reference in New Issue
Block a user