mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 19:08:15 +02:00
* Select proper stringbuilder depending on size of char
This commit is contained in:
parent
0790b98277
commit
6f25cccda9
@ -346,7 +346,11 @@ Type
|
||||
{$undef SBUNICODE}
|
||||
|
||||
Type
|
||||
{$IF SIZEOF(CHAR)=1}
|
||||
TStringBuilder = TAnsiStringBuilder;
|
||||
{$ELSE}
|
||||
TStringBuilder = TUnicodeStringBuilder;
|
||||
{$ENDIF}
|
||||
|
||||
function SafeFormat (const Fmt: AnsiString; Args: array of const; const FormatSettings: TFormatSettings): UTF8String; overload;
|
||||
function SafeFormat (const Fmt: AnsiString; Args: array of const): UTF8String; overload;
|
||||
|
Loading…
Reference in New Issue
Block a user