Kernel: Remove AK_MAKE_NONCOPYABLE from PDE and PTE classes

This avoids -Wclass-memaccess warnings exposed by the new Makefiles.
This commit is contained in:
Andreas Kling 2019-12-20 20:11:55 +01:00
commit f4b2b72c8e
Notes: sideshowbarker 2024-07-19 10:48:00 +09:00

View file

@ -85,8 +85,6 @@ union [[gnu::packed]] Descriptor
};
class PageDirectoryEntry {
AK_MAKE_NONCOPYABLE(PageDirectoryEntry);
public:
PageTableEntry* page_table_base() { return reinterpret_cast<PageTableEntry*>(m_raw & 0xfffff000u); }
void set_page_table_base(u32 value)
@ -138,8 +136,6 @@ private:
};
class PageTableEntry {
AK_MAKE_NONCOPYABLE(PageTableEntry);
public:
void* physical_page_base() { return reinterpret_cast<void*>(m_raw & 0xfffff000u); }
void set_physical_page_base(u32 value)