mirror of
https://github.com/dlang/phobos.git
synced 2025-05-08 20:19:43 +03:00
Removed unused variables from std.algorithm.sorting
This commit is contained in:
parent
e41d77db83
commit
b24000513d
1 changed files with 0 additions and 1 deletions
|
@ -1156,7 +1156,6 @@ sort(alias less = "a < b", SwapStrategy ss = SwapStrategy.unstable,
|
||||||
else //use Tim Sort for semistable & stable
|
else //use Tim Sort for semistable & stable
|
||||||
TimSortImpl!(lessFun, Range).sort(r, null);
|
TimSortImpl!(lessFun, Range).sort(r, null);
|
||||||
|
|
||||||
enum maxLen = 8;
|
|
||||||
assert(isSorted!lessFun(r), "Failed to sort range of type " ~ Range.stringof);
|
assert(isSorted!lessFun(r), "Failed to sort range of type " ~ Range.stringof);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue