archive/bzip2: convert struct to class

This commit is contained in:
Max Kellermann 2016-02-21 13:16:46 +01:00
parent 438895842c
commit 136725dfb1
1 changed files with 2 additions and 1 deletions

View File

@ -85,7 +85,7 @@ public:
Error &error) override;
};
struct Bzip2InputStream final : public InputStream {
class Bzip2InputStream final : public InputStream {
Bzip2ArchiveFile *archive;
bool eof = false;
@ -94,6 +94,7 @@ struct Bzip2InputStream final : public InputStream {
char buffer[5000];
public:
Bzip2InputStream(Bzip2ArchiveFile &context, const char *uri,
Mutex &mutex, Cond &cond);
~Bzip2InputStream();