diff --git a/source/dyaml/flags.d b/source/dyaml/flags.d index 7b0949d..fe50dcd 100644 --- a/source/dyaml/flags.d +++ b/source/dyaml/flags.d @@ -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");