mirror of
https://github.com/dlang/phobos.git
synced 2025-05-08 12:07:15 +03:00
Workaround for https://issues.dlang.org/show_bug.cgi?id=16534
This commit is contained in:
parent
9e84e1a247
commit
56f511c020
1 changed files with 1 additions and 1 deletions
|
@ -1311,7 +1311,7 @@ private void shortSort(alias less, Range)(Range r)
|
|||
if (pred(r[2], r[1])) r.swapAt(1, 2);
|
||||
return;
|
||||
default:
|
||||
sort5!pred(r[$ - 5 .. $]);
|
||||
sort5!pred(r[r.length - 5 .. r.length]);
|
||||
if (r.length == 5) return;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue