InputStream: add virtual destructor

Replaces the method Close().
This commit is contained in:
Max Kellermann
2014-05-11 16:59:19 +02:00
parent f1d0700252
commit 82337dec44
31 changed files with 48 additions and 180 deletions

View File

@@ -48,8 +48,7 @@ public:
is(nullptr) {}
~TagFileScan() {
if (is != nullptr)
is->Close();
delete is;
}
bool ScanFile(const DecoderPlugin &plugin) {