We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1189cfe commit 45cf090Copy full SHA for 45cf090
entries/abouchez/src/brcmormot.lpr
@@ -361,6 +361,7 @@ function TBrcMain.SortedText: RawUtf8;
361
st: TRawByteStringStream;
362
w: TTextWriter;
363
ndx: TSynTempBuffer;
364
+ tmp: TTextWriterStackBuffer;
365
begin
366
// compute the sorted-by-name indexes of all stations
367
c := fList.Count;
@@ -371,7 +372,7 @@ function TBrcMain.SortedText: RawUtf8;
371
372
FastSetString(result, nil, 1200000); // pre-allocate result
373
st := TRawByteStringStream.Create(result);
374
try
- w := TTextWriter.Create(st, @ndx.tmp, SizeOf(ndx.tmp));
375
+ w := TTextWriter.Create(st, @tmp, SizeOf(tmp));
376
377
w.Add('{');
378
n := ndx.buf;
0 commit comments