diff options
Diffstat (limited to 'Kernel/VM/PhysicalPage.h')
-rw-r--r-- | Kernel/VM/PhysicalPage.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Kernel/VM/PhysicalPage.h b/Kernel/VM/PhysicalPage.h index 2b3cd4eb51..f91277070a 100644 --- a/Kernel/VM/PhysicalPage.h +++ b/Kernel/VM/PhysicalPage.h @@ -12,9 +12,10 @@ namespace Kernel { class PhysicalPage { + AK_MAKE_NONCOPYABLE(PhysicalPage); + AK_MAKE_NONMOVABLE(PhysicalPage); + friend class MemoryManager; - friend class PageDirectory; - friend class VMObject; public: PhysicalAddress paddr() const; |