mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-14 10:59:14 +02: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;
|
||||
protected
|
||||
procedure InsertItem(Index: Integer; const S: string); override;
|
||||
procedure InsertItem({%H-}Index: Integer; const {%H-}S: string; {%H-}O: TObject); override;
|
||||
public
|
||||
constructor Create;
|
||||
destructor Destroy; override;
|
||||
@ -124,11 +123,6 @@ begin
|
||||
FMap.Add(S); // Insert string to map, too.
|
||||
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;
|
||||
begin
|
||||
Result := FMap.Contains(S);
|
||||
|
Loading…
Reference in New Issue
Block a user