Style fix: enforce allman style

This commit is contained in:
Sebastian Wilzbach 2016-10-11 11:47:54 +02:00
parent 1ca4d31e21
commit 6f1690f6b1
2 changed files with 6 additions and 3 deletions

View file

@ -1506,7 +1506,8 @@ private void shortSort(alias less, Range)(Range r)
immutable maxJ = r.length - 2;
for (size_t i = r.length - 6; ; --i)
{
static if (is(typeof(() nothrow {
static if (is(typeof(() nothrow
{
auto t = r[0]; if (pred(t, r[0])) r[0] = r[0];
}))) // Can we afford to temporarily invalidate the array?
{