vfs: make 'File_io_service::read_ready' const

... and replace pointer argument to const reference.

Issue #4706
This commit is contained in:
Norman Feske
2022-12-07 17:12:21 +01:00
committed by Christian Helmuth
parent 1b1a9ca95c
commit ca0d3757cc
38 changed files with 113 additions and 130 deletions

View File

@ -72,8 +72,7 @@ class Vfs::Readonly_value_file_system : public Vfs::Single_file_system
return WRITE_ERR_IO;
}
bool read_ready() override { return true; }
bool read_ready() const override { return true; }
bool write_ready() const override { return false; }
};