diff --git a/src/util/IntrusiveList.hxx b/src/util/IntrusiveList.hxx index 19b9a5b11..5e724a11e 100644 --- a/src/util/IntrusiveList.hxx +++ b/src/util/IntrusiveList.hxx @@ -266,7 +266,7 @@ public: } static constexpr iterator iterator_to(T &t) noexcept { - return {&t}; + return {&ToNode(t)}; } class const_iterator final