input/file: make the "fd" attribute "const"
This commit is contained in:
parent
e4dd269609
commit
064e8a7c68
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user