input/file: make the "fd" attribute "const"

This commit is contained in:
Max Kellermann 2014-10-02 19:55:01 +02:00
parent e4dd269609
commit 064e8a7c68

View File

@ -34,7 +34,7 @@
static constexpr Domain file_domain("file");
class FileInputStream final : public InputStream {
int fd;
const int fd;
public:
FileInputStream(const char *path, int _fd, off_t _size,