From 064e8a7c6803c9607e9336ea8756e65a0bb24289 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 2 Oct 2014 19:55:01 +0200 Subject: input/file: make the "fd" attribute "const" --- src/input/plugins/FileInputPlugin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input/plugins/FileInputPlugin.cxx') diff --git a/src/input/plugins/FileInputPlugin.cxx b/src/input/plugins/FileInputPlugin.cxx index 525786b5d..a4c809915 100644 --- a/src/input/plugins/FileInputPlugin.cxx +++ b/src/input/plugins/FileInputPlugin.cxx @@ -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, -- cgit v1.2.3