diff options
Diffstat (limited to 'Kernel/Devices/FullDevice.h')
-rw-r--r-- | Kernel/Devices/FullDevice.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Kernel/Devices/FullDevice.h b/Kernel/Devices/FullDevice.h index 037b4c7308..2fb8d4e785 100644 --- a/Kernel/Devices/FullDevice.h +++ b/Kernel/Devices/FullDevice.h @@ -13,7 +13,7 @@ namespace Kernel { class FullDevice final : public CharacterDevice { AK_MAKE_ETERNAL public: - FullDevice(); + static NonnullRefPtr<FullDevice> must_create(); virtual ~FullDevice() override; // ^Device @@ -21,6 +21,8 @@ public: virtual String device_name() const override { return "full"; } private: + FullDevice(); + // ^CharacterDevice virtual KResultOr<size_t> read(FileDescription&, u64, UserOrKernelBuffer&, size_t) override; virtual KResultOr<size_t> write(FileDescription&, u64, const UserOrKernelBuffer&, size_t) override; |