Add missing tail isn't null assertion

This commit is contained in:
Eugen Wissner 2018-04-07 19:20:08 +02:00
parent f15a90543f
commit d5064fa2b2
1 changed files with 1 additions and 0 deletions

View File

@ -925,6 +925,7 @@ struct DRange(L)
invariant invariant
{ {
assert(this.head !is null); assert(this.head !is null);
assert(this.tail !is null);
} }
private this(ref EntryPointer head, ref EntryPointer tail) @trusted private this(ref EntryPointer head, ref EntryPointer tail) @trusted