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

@@ -134,7 +134,6 @@ private:
bool Check2(Error &error);
bool Available2();
size_t Read2(void *ptr, size_t size, Error &error);
void Close2();
bool IsEOF2();
public:
@@ -143,7 +142,6 @@ public:
static bool Available(InputStream *is);
static size_t Read(InputStream *is, void *ptr, size_t size,
Error &error);
static void Close(InputStream *is);
static bool IsEOF(InputStream *is);
};