Skip to content

Commit 80235ea

Browse files
Dennis Korpeldlang-bot
authored andcommitted
Add @nogc nothrow to randomUUID
1 parent 2fd8aae commit 80235ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/uuid.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1207,7 +1207,7 @@ public struct UUID
12071207
* randomGen = uniform RNG
12081208
* See_Also: $(REF isUniformRNG, std,random)
12091209
*/
1210-
@safe UUID randomUUID()
1210+
@nogc nothrow @safe UUID randomUUID()
12111211
{
12121212
import std.random : rndGen;
12131213
// A PRNG with fewer than `n` bytes of state cannot produce

0 commit comments

Comments
 (0)