mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 01:09:25 +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);
|
constructor Create(const s:TCmdStr);
|
||||||
destructor Destroy;override;
|
destructor Destroy;override;
|
||||||
function GetCopy:TLinkedListItem;override;
|
function GetCopy:TLinkedListItem;override;
|
||||||
function Str:TCmdStr; {$ifdef CCLASSESINLINE}inline;{$endif}
|
property Str: TCmdStr read FPStr;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ string container }
|
{ string container }
|
||||||
@ -2383,12 +2383,6 @@ end;
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
function TCmdStrListItem.Str:TCmdStr;
|
|
||||||
begin
|
|
||||||
Str:=FPStr;
|
|
||||||
end;
|
|
||||||
|
|
||||||
|
|
||||||
function TCmdStrListItem.GetCopy:TLinkedListItem;
|
function TCmdStrListItem.GetCopy:TLinkedListItem;
|
||||||
begin
|
begin
|
||||||
Result:=(inherited GetCopy);
|
Result:=(inherited GetCopy);
|
||||||
|
Loading…
Reference in New Issue
Block a user