diff options
author | Max Kellermann <max@duempel.org> | 2014-05-11 16:59:19 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-05-11 17:12:50 +0200 |
commit | 82337dec44347017ca04fe975e85e6d9e4edb635 (patch) | |
tree | 308036d4a7abbd2bb04ed472dc1fbacdc2587871 /src/input/plugins/FileInputPlugin.cxx | |
parent | f1d07002521a4a98acf130127cf42aef20a5e258 (diff) | |
download | mpd-82337dec44347017ca04fe975e85e6d9e4edb635.tar.gz mpd-82337dec44347017ca04fe975e85e6d9e4edb635.tar.xz mpd-82337dec44347017ca04fe975e85e6d9e4edb635.zip |
InputStream: add virtual destructor
Replaces the method Close().
Diffstat (limited to 'src/input/plugins/FileInputPlugin.cxx')
-rw-r--r-- | src/input/plugins/FileInputPlugin.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/input/plugins/FileInputPlugin.cxx b/src/input/plugins/FileInputPlugin.cxx index 932db2150..e96347c6e 100644 --- a/src/input/plugins/FileInputPlugin.cxx +++ b/src/input/plugins/FileInputPlugin.cxx @@ -123,14 +123,6 @@ input_file_read(InputStream *is, void *ptr, size_t size, return (size_t)nbytes; } -static void -input_file_close(InputStream *is) -{ - FileInputStream *fis = (FileInputStream *)is; - - delete fis; -} - static bool input_file_eof(InputStream *is) { @@ -142,7 +134,6 @@ const InputPlugin input_plugin_file = { nullptr, nullptr, input_file_open, - input_file_close, nullptr, nullptr, nullptr, |