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/NfsInputPlugin.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 '')
-rw-r--r-- | src/input/plugins/NfsInputPlugin.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/input/plugins/NfsInputPlugin.cxx b/src/input/plugins/NfsInputPlugin.cxx index 9b5ca5959..19eda0605 100644 --- a/src/input/plugins/NfsInputPlugin.cxx +++ b/src/input/plugins/NfsInputPlugin.cxx @@ -156,13 +156,6 @@ input_nfs_read(InputStream *is, void *ptr, size_t size, return s.Read(ptr, size, error); } -static void -input_nfs_close(InputStream *is) -{ - NfsInputStream *s = (NfsInputStream *)is; - delete s; -} - static bool input_nfs_eof(InputStream *is) { @@ -184,7 +177,6 @@ const InputPlugin input_plugin_nfs = { nullptr, nullptr, input_nfs_open, - input_nfs_close, nullptr, nullptr, nullptr, |