summaryrefslogtreecommitdiff
path: root/Documentation/Patterns.md
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/Patterns.md')
-rw-r--r--Documentation/Patterns.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/Patterns.md b/Documentation/Patterns.md
index d7d1b603c2..9870321e11 100644
--- a/Documentation/Patterns.md
+++ b/Documentation/Patterns.md
@@ -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>;
};
```