mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 01:39:27 +02:00
* replaced TCmdStrListItem getter function with a property
git-svn-id: trunk@41906 -
This commit is contained in:
parent
0225a3a39a
commit
33d57ac646
@ -397,7 +397,7 @@ type
|
||||
constructor Create(const s:TCmdStr);
|
||||
destructor Destroy;override;
|
||||
function GetCopy:TLinkedListItem;override;
|
||||
function Str:TCmdStr; {$ifdef CCLASSESINLINE}inline;{$endif}
|
||||
property Str: TCmdStr read FPStr;
|
||||
end;
|
||||
|
||||
{ string container }
|
||||
@ -2383,12 +2383,6 @@ end;
|
||||
end;
|
||||
|
||||
|
||||
function TCmdStrListItem.Str:TCmdStr;
|
||||
begin
|
||||
Str:=FPStr;
|
||||
end;
|
||||
|
||||
|
||||
function TCmdStrListItem.GetCopy:TLinkedListItem;
|
||||
begin
|
||||
Result:=(inherited GetCopy);
|
||||
|
Loading…
Reference in New Issue
Block a user