Commit 078839c7 authored by Max Kellermann's avatar Max Kellermann

archive/zzip: convert struct to class

parent 90cc32f6
......@@ -85,11 +85,12 @@ ZzipArchiveFile::Visit(ArchiveVisitor &visitor)
/* single archive handling */
struct ZzipInputStream final : public InputStream {
class ZzipInputStream final : public InputStream {
std::shared_ptr<ZzipDir> dir;
ZZIP_FILE *file;
ZZIP_FILE *const file;
public:
ZzipInputStream(const std::shared_ptr<ZzipDir> _dir, const char *_uri,
Mutex &_mutex, Cond &_cond,
ZZIP_FILE *_file)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment