input/file: convert to class

This commit is contained in:
Max Kellermann 2014-10-02 19:14:59 +02:00
parent 89f9561d10
commit 37501d9bc7

View File

@ -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),