summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtzipentry.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-02 04:28:19 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-02 04:55:18 +0300
commit4b1ca08f26152fbcfb5eb838d271fdd88c381eca (patch)
treea005f6414ead9ae4ee287e6d198bab68ad6bdf63 /src/fs/virtfs/virtzipentry.cpp
parentce9dd5dfa8e49e5204f25e079c1283ab6173b7cb (diff)
downloadmv-4b1ca08f26152fbcfb5eb838d271fdd88c381eca.tar.gz
mv-4b1ca08f26152fbcfb5eb838d271fdd88c381eca.tar.bz2
mv-4b1ca08f26152fbcfb5eb838d271fdd88c381eca.tar.xz
mv-4b1ca08f26152fbcfb5eb838d271fdd88c381eca.zip
Add base class for VirtDirEntry and VirtZipEntry.
Diffstat (limited to 'src/fs/virtfs/virtzipentry.cpp')
-rw-r--r--src/fs/virtfs/virtzipentry.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fs/virtfs/virtzipentry.cpp b/src/fs/virtfs/virtzipentry.cpp
index fffe4fc5f..68b44ef4d 100644
--- a/src/fs/virtfs/virtzipentry.cpp
+++ b/src/fs/virtfs/virtzipentry.cpp
@@ -29,9 +29,10 @@
#include "debug.h"
VirtZipEntry::VirtZipEntry(const std::string &restrict archiveName) :
- mArchiveName(archiveName),
+ VirtFsEntry(FsEntryType::Zip),
mHeaders()
{
+ root = archiveName;
}
VirtZipEntry::~VirtZipEntry()