1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:57:45 +00:00

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
parent 62c2309336
commit f4b2b72c8e

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)