mark dyaml.flags.Flags.flags as @safe

This commit is contained in:
Cameron Ross 2018-04-22 16:29:23 -03:00
parent f528351867
commit accad93f7f
No known key found for this signature in database
GPG key ID: 777897D98DC91C54

View file

@ -27,7 +27,7 @@ struct Flags(names ...) if(names.length <= 8)
ubyte flags_;
///Generate a setter and a getter for each flag.
static string flags(string[] names ...) @trusted
static string flags(string[] names ...) @safe
in
{
assert(names.length <= 8, "Flags struct can only hold 8 flags");