From 2b30ac2351b85b331f0246fd64ba550a0fde2f65 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 13 Oct 2021 11:04:17 +0200 Subject: [PATCH] util/IntrusiveList: add another missing ToNode() call --- src/util/IntrusiveList.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {