diff --git a/src/util/IntrusiveList.hxx b/src/util/IntrusiveList.hxx index edadd23f1..b606d7f36 100644 --- a/src/util/IntrusiveList.hxx +++ b/src/util/IntrusiveList.hxx @@ -338,7 +338,7 @@ public: } static constexpr iterator iterator_to(const T &t) noexcept { - return {&t}; + return {&ToNode(t)}; } iterator erase(iterator i) noexcept {