* replaced TCmdStrListItem getter function with a property

git-svn-id: trunk@41906 -
This commit is contained in:
Jonas Maebe 2019-04-20 18:18:07 +00:00
parent 0225a3a39a
commit 33d57ac646

View File

@ -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);