Skip to content

Commit

Permalink
Add @nogc nothrow to randomUUID
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Korpel authored and dlang-bot committed Apr 17, 2024
1 parent 2fd8aae commit 80235ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/uuid.d
Expand Up @@ -1207,7 +1207,7 @@ public struct UUID
* randomGen = uniform RNG
* See_Also: $(REF isUniformRNG, std,random)
*/
@safe UUID randomUUID()
@nogc nothrow @safe UUID randomUUID()
{
import std.random : rndGen;
// A PRNG with fewer than `n` bytes of state cannot produce
Expand Down

0 comments on commit 80235ea

Please sign in to comment.