diff options
author | Andreas Kling <kling@serenityos.org> | 2021-07-13 23:17:02 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-13 23:19:00 +0200 |
commit | de4ba1f39b2c6db213bc499abcb5060ca05300bb (patch) | |
tree | 2959074b8577e722dc7d7d9d1e86ba12f21e2fac /Kernel/VM/PhysicalRegion.h | |
parent | 424afdd72b9546872a2e72a97f32f9727f388c83 (diff) | |
download | serenity-de4ba1f39b2c6db213bc499abcb5060ca05300bb.zip |
Kernel: Remove some friendships and make some classes non-copy/moveable
Diffstat (limited to 'Kernel/VM/PhysicalRegion.h')
-rw-r--r-- | Kernel/VM/PhysicalRegion.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Kernel/VM/PhysicalRegion.h b/Kernel/VM/PhysicalRegion.h index 4ec98bb487..769ca35f30 100644 --- a/Kernel/VM/PhysicalRegion.h +++ b/Kernel/VM/PhysicalRegion.h @@ -13,7 +13,10 @@ namespace Kernel { class PhysicalRegion { - AK_MAKE_ETERNAL + AK_MAKE_ETERNAL; + AK_MAKE_NONCOPYABLE(PhysicalRegion); + AK_MAKE_NONMOVABLE(PhysicalRegion); + public: static OwnPtr<PhysicalRegion> try_create(PhysicalAddress lower, PhysicalAddress upper) { |