diff --git a/Kernel/Devices/BlockDevice.h b/Kernel/Devices/BlockDevice.h index d689841219..c338c5a9cc 100644 --- a/Kernel/Devices/BlockDevice.h +++ b/Kernel/Devices/BlockDevice.h @@ -12,7 +12,7 @@ namespace Kernel { class BlockDevice; -class AsyncBlockDeviceRequest : public AsyncDeviceRequest { +class AsyncBlockDeviceRequest final : public AsyncDeviceRequest { public: enum RequestType { Read, diff --git a/Kernel/VM/AnonymousVMObject.h b/Kernel/VM/AnonymousVMObject.h index 328a8b7405..a2c990fa59 100644 --- a/Kernel/VM/AnonymousVMObject.h +++ b/Kernel/VM/AnonymousVMObject.h @@ -14,7 +14,7 @@ namespace Kernel { -class AnonymousVMObject : public VMObject { +class AnonymousVMObject final : public VMObject { friend class PurgeablePageRanges; public: