summaryrefslogtreecommitdiff
path: root/VirtualFileSystem/ZeroDevice.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-16 00:10:13 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-16 00:10:13 +0100
commit08bfe518f909bcf0c241d910da16754cf97c4078 (patch)
tree4025a2aefa3ffaa09df17fa266e6ade3808bdce0 /VirtualFileSystem/ZeroDevice.h
parent10387beda760c11b99dbd8d10ffc3a35b597d137 (diff)
downloadserenity-08bfe518f909bcf0c241d910da16754cf97c4078.zip
Rename CharacterDevice::has_data_available_for_reading() -> can_read().
Diffstat (limited to 'VirtualFileSystem/ZeroDevice.h')
-rw-r--r--VirtualFileSystem/ZeroDevice.h2
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; }
};