Commit 4ab73f9d authored by Max Kellermann's avatar Max Kellermann

util/IntrusiveList: add missing ToNode() cast in iterator_to()

parent 5ebe23e4
......@@ -266,7 +266,7 @@ public:
}
static constexpr iterator iterator_to(T &t) noexcept {
return {&t};
return {&ToNode(t)};
}
class const_iterator final
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment