archive/zzip: convert struct to class

This commit is contained in:
Max Kellermann 2017-12-26 11:22:46 +01:00
parent 90cc32f6f8
commit 078839c711

View File

@ -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)