mirror of
https://github.com/dlang/phobos.git
synced 2025-04-27 13:40:20 +03:00
swap front/popFront in randomUUID
This commit is contained in:
parent
219e3ceeae
commit
d12da5ddbf
1 changed files with 1 additions and 1 deletions
|
@ -1094,8 +1094,8 @@ if (isInputRange!RNG && isIntegral!(ElementType!RNG))
|
||||||
UUID u;
|
UUID u;
|
||||||
foreach (ref E e ; u.asArrayOf!E())
|
foreach (ref E e ; u.asArrayOf!E())
|
||||||
{
|
{
|
||||||
randomGen.popFront();
|
|
||||||
e = randomGen.front;
|
e = randomGen.front;
|
||||||
|
randomGen.popFront();
|
||||||
}
|
}
|
||||||
|
|
||||||
//set variant
|
//set variant
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue