removed final from variable declarations

This commit is contained in:
Walter Bright 2008-01-28 07:06:00 +00:00
parent c3d2ffdf9b
commit e5c065b46e
4 changed files with 442 additions and 440 deletions

View file

@ -654,7 +654,7 @@ void randomShuffle(T, SomeRandomGen)(T[] array, ref SomeRandomGen r)
foreach (i; 0 .. array.length)
{
// generate a random number i .. n
final which = i + uniform!(size_t)(r, 0u, array.length - i);
auto which = i + uniform!(size_t)(r, 0u, array.length - i);
swap(array[i], array[which]);
}
}