diff --git a/source/dyaml/event.d b/source/dyaml/event.d index 0cbe680..cd7a927 100644 --- a/source/dyaml/event.d +++ b/source/dyaml/event.d @@ -102,8 +102,6 @@ struct Event assert(id == EventID.documentStart, "Only DocumentStart events have tag directives."); return _tagDirectives; } - - static assert(Event.sizeof <= 64, "Event struct larger than expected"); } /** diff --git a/source/dyaml/exception.d b/source/dyaml/exception.d index f214726..7a8c426 100644 --- a/source/dyaml/exception.d +++ b/source/dyaml/exception.d @@ -57,8 +57,6 @@ struct Mark } } -static assert(Mark.sizeof == 4, "Unexpected Mark size"); - // A struct storing parameters to the MarkedYAMLException constructor. struct MarkedYAMLExceptionData { diff --git a/source/dyaml/token.d b/source/dyaml/token.d index 4f17514..5400a3f 100644 --- a/source/dyaml/token.d +++ b/source/dyaml/token.d @@ -95,8 +95,6 @@ struct Token /// Get string representation of the token ID. @property string idString() @safe pure const {return id.to!string;} } -static assert(Token.sizeof <= 32, "Token has unexpected size"); - /// Construct a directive token. ///