mirror of
https://github.com/dlang/phobos.git
synced 2025-04-27 21:51:40 +03:00
Add @nogc nothrow
to randomUUID
This commit is contained in:
parent
2fd8aae438
commit
80235ea056
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue