diff --git a/src/util/IntrusiveList.hxx b/src/util/IntrusiveList.hxx index 5e724a11e..e97abc60d 100644 --- a/src/util/IntrusiveList.hxx +++ b/src/util/IntrusiveList.hxx @@ -320,7 +320,7 @@ public: } void erase(iterator i) noexcept { - IntrusiveListHook(*i).unlink(); + ToHook(*i).unlink(); } void push_front(T &t) noexcept {