diff options
Diffstat (limited to 'Kernel/Devices/RandomDevice.h')
-rw-r--r-- | Kernel/Devices/RandomDevice.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/Devices/RandomDevice.h b/Kernel/Devices/RandomDevice.h index 93f523a3ea..a86ba9f854 100644 --- a/Kernel/Devices/RandomDevice.h +++ b/Kernel/Devices/RandomDevice.h @@ -22,9 +22,9 @@ private: // ^CharacterDevice virtual ErrorOr<size_t> read(OpenFileDescription&, u64, UserOrKernelBuffer&, size_t) override; - virtual ErrorOr<size_t> write(OpenFileDescription&, u64, const UserOrKernelBuffer&, size_t) override; - virtual bool can_read(const OpenFileDescription&, u64) const override; - virtual bool can_write(const OpenFileDescription&, u64) const override { return true; } + virtual ErrorOr<size_t> write(OpenFileDescription&, u64, UserOrKernelBuffer const&, size_t) override; + virtual bool can_read(OpenFileDescription const&, u64) const override; + virtual bool can_write(OpenFileDescription const&, u64) const override { return true; } virtual StringView class_name() const override { return "RandomDevice"sv; } }; |