From d12da5ddbf510e3b9b7c1a5c981b97d16ffa428e Mon Sep 17 00:00:00 2001 From: monarch dodra Date: Mon, 9 Feb 2015 21:36:16 +0100 Subject: [PATCH] swap front/popFront in randomUUID --- std/uuid.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/uuid.d b/std/uuid.d index bf212d295..f53c0c348 100644 --- a/std/uuid.d +++ b/std/uuid.d @@ -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