mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-20 11:09:24 +02:00
* Added overloaded constructor so omitting argument will not cause problems
This commit is contained in:
parent
cbcc6c63b8
commit
e36441b661
@ -867,6 +867,7 @@ type
|
||||
private
|
||||
function GetDataString : String;
|
||||
public
|
||||
constructor Create; reintroduce; overload;
|
||||
constructor Create(const aString: String); virtual; overload;
|
||||
function ReadString(Count: Integer): string;
|
||||
procedure WriteString(const AString: string);
|
||||
@ -1529,6 +1530,11 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
constructor TStringStream.Create;
|
||||
begin
|
||||
Create('');
|
||||
end;
|
||||
|
||||
constructor TStringStream.Create(const aString: String);
|
||||
|
||||
var
|
||||
|
Loading…
Reference in New Issue
Block a user