util/IntrusiveList: add missing ToNode() cast in iterator_to()
This commit is contained in:
parent
5ebe23e4bb
commit
4ab73f9de9
@ -266,7 +266,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
static constexpr iterator iterator_to(T &t) noexcept {
|
static constexpr iterator iterator_to(T &t) noexcept {
|
||||||
return {&t};
|
return {&ToNode(t)};
|
||||||
}
|
}
|
||||||
|
|
||||||
class const_iterator final
|
class const_iterator final
|
||||||
|
Loading…
Reference in New Issue
Block a user