aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/plugins
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-10-02 19:55:01 +0200
committerMax Kellermann <max@duempel.org>2014-10-02 19:55:01 +0200
commit064e8a7c6803c9607e9336ea8756e65a0bb24289 (patch)
tree2eaa01858b3a5dedb9864ff3502c0d6134a5caed /src/input/plugins
parente4dd26960947f6a332d32bea655dc4e7d63fe012 (diff)
downloadmpd-064e8a7c6803c9607e9336ea8756e65a0bb24289.tar.gz
mpd-064e8a7c6803c9607e9336ea8756e65a0bb24289.tar.xz
mpd-064e8a7c6803c9607e9336ea8756e65a0bb24289.zip
input/file: make the "fd" attribute "const"
Diffstat (limited to 'src/input/plugins')
-rw-r--r--src/input/plugins/FileInputPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
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,