1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:47:35 +00:00

Kernel: Mark AsyncBlockDeviceRequest + AnonymousVMObject as final

Mark final to aid in de-virtualization since they are not currently
derived from.
This commit is contained in:
Brian Gianforcaro 2021-05-03 01:06:15 -07:00 committed by Andreas Kling
parent f1c4a42840
commit 65138171f9
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ namespace Kernel {
class BlockDevice; class BlockDevice;
class AsyncBlockDeviceRequest : public AsyncDeviceRequest { class AsyncBlockDeviceRequest final : public AsyncDeviceRequest {
public: public:
enum RequestType { enum RequestType {
Read, Read,

View file

@ -14,7 +14,7 @@
namespace Kernel { namespace Kernel {
class AnonymousVMObject : public VMObject { class AnonymousVMObject final : public VMObject {
friend class PurgeablePageRanges; friend class PurgeablePageRanges;
public: public: