diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-06-21 18:37:47 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-06-21 18:37:47 +0200 |
commit | 90b1354688e988ba1311a5645f631d353fa7ff80 (patch) | |
tree | 5619e16c34d3f2f9142c270e2a906614a6d598a6 /Kernel/VM/Region.h | |
parent | 77b9fa89dd36fcd56d956667a956ef7f2ee8f963 (diff) | |
download | serenity-90b1354688e988ba1311a5645f631d353fa7ff80.zip |
AK: Rename RetainPtr => RefPtr and Retained => NonnullRefPtr.
Diffstat (limited to 'Kernel/VM/Region.h')
-rw-r--r-- | Kernel/VM/Region.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Kernel/VM/Region.h b/Kernel/VM/Region.h index 1e0d374b17..9079280d2f 100644 --- a/Kernel/VM/Region.h +++ b/Kernel/VM/Region.h @@ -19,8 +19,8 @@ public: }; Region(const Range&, const String&, byte access, bool cow = false); - Region(const Range&, Retained<VMObject>&&, size_t offset_in_vmo, const String&, byte access, bool cow = false); - Region(const Range&, RetainPtr<Inode>&&, const String&, byte access); + Region(const Range&, NonnullRefPtr<VMObject>&&, size_t offset_in_vmo, const String&, byte access, bool cow = false); + Region(const Range&, RefPtr<Inode>&&, const String&, byte access); ~Region(); VirtualAddress vaddr() const { return m_range.base(); } @@ -38,7 +38,7 @@ public: bool is_shared() const { return m_shared; } void set_shared(bool shared) { m_shared = shared; } - Retained<Region> clone(); + NonnullRefPtr<Region> clone(); bool contains(VirtualAddress vaddr) const { @@ -97,10 +97,10 @@ public: } private: - RetainPtr<PageDirectory> m_page_directory; + RefPtr<PageDirectory> m_page_directory; Range m_range; size_t m_offset_in_vmo { 0 }; - Retained<VMObject> m_vmo; + NonnullRefPtr<VMObject> m_vmo; String m_name; byte m_access { 0 }; bool m_shared { false }; |