util/IntrusiveList: use ToHook() in erase()

This commit is contained in:
Max Kellermann 2021-02-25 14:12:09 +01:00
parent 4ab73f9de9
commit b54d2d984a
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ public:
}
void erase(iterator i) noexcept {
IntrusiveListHook(*i).unlink();
ToHook(*i).unlink();
}
void push_front(T &t) noexcept {