summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2016-02-21 13:16:46 +0100
committerMax Kellermann <max@duempel.org>2016-02-21 13:18:25 +0100
commit136725dfb1af867c151fd93745188f8a9f86415d (patch)
tree9d406430a9688b47ac4892f6a10f6ea87bcf4898 /src
parent438895842c1bcb83ebb24d9764814543d5752a87 (diff)
archive/bzip2: convert struct to class
Diffstat (limited to 'src')
-rw-r--r--src/archive/plugins/Bzip2ArchivePlugin.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/archive/plugins/Bzip2ArchivePlugin.cxx b/src/archive/plugins/Bzip2ArchivePlugin.cxx
index 36f6599b7..c6d103a23 100644
--- a/src/archive/plugins/Bzip2ArchivePlugin.cxx
+++ b/src/archive/plugins/Bzip2ArchivePlugin.cxx
@@ -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();