archive/zzip: convert struct to class
This commit is contained in:
parent
90cc32f6f8
commit
078839c711
@ -85,11 +85,12 @@ ZzipArchiveFile::Visit(ArchiveVisitor &visitor)
|
|||||||
|
|
||||||
/* single archive handling */
|
/* single archive handling */
|
||||||
|
|
||||||
struct ZzipInputStream final : public InputStream {
|
class ZzipInputStream final : public InputStream {
|
||||||
std::shared_ptr<ZzipDir> dir;
|
std::shared_ptr<ZzipDir> dir;
|
||||||
|
|
||||||
ZZIP_FILE *file;
|
ZZIP_FILE *const file;
|
||||||
|
|
||||||
|
public:
|
||||||
ZzipInputStream(const std::shared_ptr<ZzipDir> _dir, const char *_uri,
|
ZzipInputStream(const std::shared_ptr<ZzipDir> _dir, const char *_uri,
|
||||||
Mutex &_mutex, Cond &_cond,
|
Mutex &_mutex, Cond &_cond,
|
||||||
ZZIP_FILE *_file)
|
ZZIP_FILE *_file)
|
||||||
|
Loading…
Reference in New Issue
Block a user