1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:17:36 +00:00

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

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>;
};
```