Merge pull request #117 from Herringway/safe-flags
mark dyaml.flags.Flags.flags as @safe merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
This commit is contained in:
commit
3aa7ce6d0c
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue