diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-02 04:28:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-02 04:55:18 +0300 |
commit | 4b1ca08f26152fbcfb5eb838d271fdd88c381eca (patch) | |
tree | a005f6414ead9ae4ee287e6d198bab68ad6bdf63 /src/fs/virtfs/virtdirentry.cpp | |
parent | ce9dd5dfa8e49e5204f25e079c1283ab6173b7cb (diff) | |
download | plus-4b1ca08f26152fbcfb5eb838d271fdd88c381eca.tar.gz plus-4b1ca08f26152fbcfb5eb838d271fdd88c381eca.tar.bz2 plus-4b1ca08f26152fbcfb5eb838d271fdd88c381eca.tar.xz plus-4b1ca08f26152fbcfb5eb838d271fdd88c381eca.zip |
Add base class for VirtDirEntry and VirtZipEntry.
Diffstat (limited to 'src/fs/virtfs/virtdirentry.cpp')
-rw-r--r-- | src/fs/virtfs/virtdirentry.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fs/virtfs/virtdirentry.cpp b/src/fs/virtfs/virtdirentry.cpp index 1364bca8a..7481e2a29 100644 --- a/src/fs/virtfs/virtdirentry.cpp +++ b/src/fs/virtfs/virtdirentry.cpp @@ -25,9 +25,10 @@ VirtDirEntry::VirtDirEntry(const std::string &userDir, const std::string &rootDir) : - mUserDir(userDir), - mRootDir(rootDir) + VirtFsEntry(FsEntryType::Dir), + mUserDir(userDir) { + root = rootDir; } VirtDirEntry::~VirtDirEntry() |