diff options
author | Max Kellermann <max@duempel.org> | 2014-10-02 19:55:01 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-10-02 19:55:01 +0200 |
commit | 064e8a7c6803c9607e9336ea8756e65a0bb24289 (patch) | |
tree | 2eaa01858b3a5dedb9864ff3502c0d6134a5caed /src/input/plugins | |
parent | e4dd26960947f6a332d32bea655dc4e7d63fe012 (diff) | |
download | mpd-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.cxx | 2 |
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, |