util/IntrusiveList: use ToHook() in erase()
This commit is contained in:
parent
4ab73f9de9
commit
b54d2d984a
@ -320,7 +320,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
void erase(iterator i) noexcept {
|
void erase(iterator i) noexcept {
|
||||||
IntrusiveListHook(*i).unlink();
|
ToHook(*i).unlink();
|
||||||
}
|
}
|
||||||
|
|
||||||
void push_front(T &t) noexcept {
|
void push_front(T &t) noexcept {
|
||||||
|
Loading…
Reference in New Issue
Block a user