summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/fs.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-05 20:18:28 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-05 20:18:28 +0300
commit4c37700df953b84f1d6533e7be5a798869b64a57 (patch)
tree6c5117f1d23ae21da609afa6861c09dee31a4eff /src/fs/virtfs/fs.cpp
parentab311005113b2648cf5d709ec2a12baea90ede95 (diff)
downloadplus-4c37700df953b84f1d6533e7be5a798869b64a57.tar.gz
plus-4c37700df953b84f1d6533e7be5a798869b64a57.tar.bz2
plus-4c37700df953b84f1d6533e7be5a798869b64a57.tar.xz
plus-4c37700df953b84f1d6533e7be5a798869b64a57.zip
Rename virtzipentry into zipentry.
Diffstat (limited to 'src/fs/virtfs/fs.cpp')
-rw-r--r--src/fs/virtfs/fs.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fs/virtfs/fs.cpp b/src/fs/virtfs/fs.cpp
index 4d73784dd..20c245dd9 100644
--- a/src/fs/virtfs/fs.cpp
+++ b/src/fs/virtfs/fs.cpp
@@ -29,7 +29,7 @@
#include "fs/virtfs/fsfuncs.h"
#include "fs/virtfs/fszip.h"
#include "fs/virtfs/list.h"
-#include "fs/virtfs/virtzipentry.h"
+#include "fs/virtfs/zipentry.h"
#include "fs/virtfs/zipreader.h"
#include "utils/checkutils.h"
@@ -475,7 +475,7 @@ namespace VirtFs
newDir.c_str());
return false;
}
- VirtZipEntry *const entry = new VirtZipEntry(newDir,
+ ZipEntry *const entry = new ZipEntry(newDir,
FsZip::getFuncs());
if (ZipReader::readArchiveInfo(entry) == false)
{
@@ -502,7 +502,7 @@ namespace VirtFs
if (entry->root == oldDir &&
entry->type == FsEntryType::Zip)
{
- VirtZipEntry *const zipEntry = static_cast<VirtZipEntry*>(
+ ZipEntry *const zipEntry = static_cast<ZipEntry*>(
entry);
logger->log("Remove virtual zip: " + oldDir);
mEntries.erase(it);
@@ -565,7 +565,7 @@ namespace VirtFs
if (entry->type == FsEntryType::Dir)
delete static_cast<DirEntry*>(entry);
else if (entry->type == FsEntryType::Zip)
- delete static_cast<VirtZipEntry*>(entry);
+ delete static_cast<ZipEntry*>(entry);
else
delete entry;
}