diff options
author | Ali Mohammad Pur <ali.mpfard@gmail.com> | 2021-09-09 16:01:09 +0430 |
---|---|---|
committer | Idan Horowitz <idan.horowitz@gmail.com> | 2021-09-10 18:05:46 +0300 |
commit | b37211a6158731e87ca72a325aacbd1ff7e40b77 (patch) | |
tree | 738ba66a50cf0057210dc084ef2e3d45ad10ffc4 /Documentation | |
parent | 14c8373eb0656e0190997ef2630d716aea4e7ef8 (diff) | |
download | serenity-b37211a6158731e87ca72a325aacbd1ff7e40b77.zip |
Documentation: Tweak IntrusiveList example to reflect new API
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/Patterns.md | 4 |
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>; }; ``` |