summaryrefslogtreecommitdiff
path: root/Kernel/VM/Region.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/VM/Region.h')
-rw-r--r--Kernel/VM/Region.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/VM/Region.h b/Kernel/VM/Region.h
index 1ddc9b50ef..0f015126ac 100644
--- a/Kernel/VM/Region.h
+++ b/Kernel/VM/Region.h
@@ -68,7 +68,7 @@ public:
void set_page_directory(PageDirectory& page_directory)
{
- ASSERT(!m_page_directory || m_page_directory.ptr() == &page_directory);
+ ASSERT(!m_page_directory || m_page_directory == &page_directory);
m_page_directory = page_directory;
}