Commit b54d2d98 authored by Max Kellermann's avatar Max Kellermann

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

parent 4ab73f9d
......@@ -320,7 +320,7 @@ public:
}
void erase(iterator i) noexcept {
IntrusiveListHook(*i).unlink();
ToHook(*i).unlink();
}
void push_front(T &t) noexcept {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment