mirror of
https://github.com/dlang/phobos.git
synced 2025-04-26 21:22: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;
|
||||
foreach (ref E e ; u.asArrayOf!E())
|
||||
{
|
||||
randomGen.popFront();
|
||||
e = randomGen.front;
|
||||
randomGen.popFront();
|
||||
}
|
||||
|
||||
//set variant
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue