summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2018-04-07 19:20:08 +0200
committerEugen Wissner <belka@caraus.de>2018-04-07 19:20:08 +0200
commitd5064fa2b2bd98fa955e95eef0cf8b11d0aad341 (patch)
treea405741a99e67b3ae99d31b5a4fac6bf5eaceeae /source
parentf15a90543f48055ec9cfe31048e6e5cbd48b7b41 (diff)
downloadtanya-d5064fa2b2bd98fa955e95eef0cf8b11d0aad341.tar.gz
Add missing tail isn't null assertion
Diffstat (limited to 'source')
-rw-r--r--source/tanya/container/list.d1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/tanya/container/list.d b/source/tanya/container/list.d
index fe62b5f..cb3115f 100644
--- a/source/tanya/container/list.d
+++ b/source/tanya/container/list.d
@@ -925,6 +925,7 @@ struct DRange(L)
invariant
{
assert(this.head !is null);
+ assert(this.tail !is null);
}
private this(ref EntryPointer head, ref EntryPointer tail) @trusted