diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-01-16 00:10:13 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-01-16 00:10:13 +0100 |
commit | 08bfe518f909bcf0c241d910da16754cf97c4078 (patch) | |
tree | 4025a2aefa3ffaa09df17fa266e6ade3808bdce0 /VirtualFileSystem/ZeroDevice.h | |
parent | 10387beda760c11b99dbd8d10ffc3a35b597d137 (diff) | |
download | serenity-08bfe518f909bcf0c241d910da16754cf97c4078.zip |
Rename CharacterDevice::has_data_available_for_reading() -> can_read().
Diffstat (limited to 'VirtualFileSystem/ZeroDevice.h')
-rw-r--r-- | VirtualFileSystem/ZeroDevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/VirtualFileSystem/ZeroDevice.h b/VirtualFileSystem/ZeroDevice.h index 8ed62549ca..a90fbd3c9f 100644 --- a/VirtualFileSystem/ZeroDevice.h +++ b/VirtualFileSystem/ZeroDevice.h @@ -10,7 +10,7 @@ public: virtual ssize_t read(byte* buffer, size_t bufferSize) override; virtual ssize_t write(const byte* buffer, size_t bufferSize) override; - virtual bool has_data_available_for_reading(Process&) const override; + virtual bool can_read(Process&) const override; virtual bool can_write(Process&) const override { return true; } }; |