Documentation: Tweak IntrusiveList example to reflect new API

This commit is contained in:
Ali Mohammad Pur 2021-09-09 16:01:09 +04:30 committed by Idan Horowitz
parent 14c8373eb0
commit b37211a615
Notes: sideshowbarker 2024-07-18 04:20:22 +09:00

View file

@ -39,8 +39,8 @@ private:
IntrusiveListNode<Region> m_vmobject_list_node;
public:
using ListInMemoryManager = IntrusiveList<Region, RawPtr<Region>, &Region::m_memory_manager_list_node>;
using ListInVMObject = IntrusiveList<Region, RawPtr<Region>, &Region::m_vmobject_list_node>;
using ListInMemoryManager = IntrusiveList<&Region::m_memory_manager_list_node>;
using ListInVMObject = IntrusiveList<&Region::m_vmobject_list_node>;
};
```