summaryrefslogtreecommitdiff
path: root/src/fs/virtfile.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-25 19:10:51 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-25 19:11:57 +0300
commite6198149823ee18e4167b0e6dd34cfb7f2e2f496 (patch)
tree013181d9d8e4f06433838cffaabf6159aa2f775b /src/fs/virtfile.cpp
parent0bb68a88e6dc6a04685825e80b4e3dca1dc097d2 (diff)
downloadplus-e6198149823ee18e4167b0e6dd34cfb7f2e2f496.tar.gz
plus-e6198149823ee18e4167b0e6dd34cfb7f2e2f496.tar.bz2
plus-e6198149823ee18e4167b0e6dd34cfb7f2e2f496.tar.xz
plus-e6198149823ee18e4167b0e6dd34cfb7f2e2f496.zip
Implement basic VirtFsZip for virtual fs based on zip archives.
Api similar to VirtFs. For now unused.
Diffstat (limited to 'src/fs/virtfile.cpp')
-rw-r--r--src/fs/virtfile.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/fs/virtfile.cpp b/src/fs/virtfile.cpp
index fb719f05c..3ed99ca2d 100644
--- a/src/fs/virtfile.cpp
+++ b/src/fs/virtfile.cpp
@@ -22,18 +22,14 @@
#include "fs/virtfileprivate.h"
-#include "utils/delete2.h"
-
#include "debug.h"
VirtFile::VirtFile() :
- mPrivate(nullptr),
- mBuf(nullptr)
+ mPrivate(nullptr)
{
}
VirtFile::~VirtFile()
{
- delete2(mPrivate);
- delete [] mBuf;
+ delete mPrivate;
}