diff --git a/std/regex/internal/thompson.d b/std/regex/internal/thompson.d index 3a34a46c78e..b67d6c77756 100644 --- a/std/regex/internal/thompson.d +++ b/std/regex/internal/thompson.d @@ -70,7 +70,7 @@ struct ThreadList(DataIndex) this(ThreadList tlist){ ct = tlist.tip; } @property bool empty(){ return ct is null; } @property const(Thread!DataIndex)* front(){ return ct; } - @property popFront() + void popFront() { assert(ct); ct = ct.next;