mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-22 08:09:37 +01:00
LazUtils: Remove test version of overridden InsertItem from TDictionaryStringList. It is called from FPC > 2.7.1. Solves issue #24964 although not the way it suggested.
git-svn-id: trunk@42649 -
This commit is contained in:
parent
eab977d2b3
commit
79ad84f848
@ -40,7 +40,6 @@ type
|
|||||||
FMap: TStringMap;
|
FMap: TStringMap;
|
||||||
protected
|
protected
|
||||||
procedure InsertItem(Index: Integer; const S: string); override;
|
procedure InsertItem(Index: Integer; const S: string); override;
|
||||||
procedure InsertItem({%H-}Index: Integer; const {%H-}S: string; {%H-}O: TObject); override;
|
|
||||||
public
|
public
|
||||||
constructor Create;
|
constructor Create;
|
||||||
destructor Destroy; override;
|
destructor Destroy; override;
|
||||||
@ -124,11 +123,6 @@ begin
|
|||||||
FMap.Add(S); // Insert string to map, too.
|
FMap.Add(S); // Insert string to map, too.
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TDictionaryStringList.InsertItem(Index: Integer; const S: string; O: TObject);
|
|
||||||
begin
|
|
||||||
raise Exception.Create('TDictionaryStringList.InsertItem: is this needed?');
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TDictionaryStringList.Contains(const S: string): Boolean;
|
function TDictionaryStringList.Contains(const S: string): Boolean;
|
||||||
begin
|
begin
|
||||||
Result := FMap.Contains(S);
|
Result := FMap.Contains(S);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user