From 4b1ca08f26152fbcfb5eb838d271fdd88c381eca Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 2 Mar 2017 04:28:19 +0300 Subject: Add base class for VirtDirEntry and VirtZipEntry. --- src/fs/virtfs/virtzipentry.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/fs/virtfs/virtzipentry.h') diff --git a/src/fs/virtfs/virtzipentry.h b/src/fs/virtfs/virtzipentry.h index 6cd29f76e..5114d99bf 100644 --- a/src/fs/virtfs/virtzipentry.h +++ b/src/fs/virtfs/virtzipentry.h @@ -22,6 +22,8 @@ #define UTILS_VIRTZIPENTRY_H #ifndef USE_PHYSFS +#include "fs/virtfs/virtfsentry.h" + #include #include @@ -29,7 +31,7 @@ struct ZipLocalHeader; -struct VirtZipEntry final +struct VirtZipEntry final : public VirtFsEntry { explicit VirtZipEntry(const std::string &restrict archiveName); @@ -37,8 +39,6 @@ struct VirtZipEntry final ~VirtZipEntry(); - std::string mArchiveName; - std::vector mHeaders; std::vector mDirs; }; -- cgit v1.2.3-70-g09d2