Skip to content

Commit

Permalink
Documentation: Tweak IntrusiveList example to reflect new API
Browse files Browse the repository at this point in the history
  • Loading branch information
alimpfard authored and IdanHo committed Sep 10, 2021
1 parent 14c8373 commit b37211a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/Patterns.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
};
```
Expand Down

0 comments on commit b37211a

Please sign in to comment.