Commit 37501d9b authored by Max Kellermann's avatar Max Kellermann

input/file: convert to class

parent 89f9561d
......@@ -33,9 +33,10 @@
static constexpr Domain file_domain("file");
struct FileInputStream final : public InputStream {
class FileInputStream final : public InputStream {
int fd;
public:
FileInputStream(const char *path, int _fd, off_t _size,
Mutex &_mutex, Cond &_cond)
:InputStream(path, _mutex, _cond),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment