Revert IL_REMOVE fix (breaks too much)
authorMario <mario@smbclan.net>
Tue, 7 Mar 2017 20:35:17 +0000 (06:35 +1000)
committerMario <mario@smbclan.net>
Tue, 7 Mar 2017 20:35:17 +0000 (06:35 +1000)
qcsrc/lib/intrusivelist.qh

index c83b2e6..4fa49d3 100644 (file)
@@ -121,7 +121,7 @@ void IL_REMOVE(IntrusiveList this, entity it)
        assert(this, return);
        .entity il_next = this.il_nextfld;
        .entity il_prev = this.il_prevfld;
-       assert(!IL_CONTAINS(this, it), return);
+       //assert(!IL_CONTAINS(this, it), return);
        entity next = it.(il_next);
        entity prev = it.(il_prev);
        entity ohead = this.il_head;