summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtdirentry.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-04 00:27:54 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-04 01:12:19 +0300
commit79bb654b80d5eb7a65814f80b9ca7ca1ccd62a00 (patch)
treef9669ee10e2ea3f2c41abaa84830da9efe7f9411 /src/fs/virtfs/virtdirentry.cpp
parenta6c70dd1f32c38cc81cfd4b28f929d7c13d86db1 (diff)
downloadmanaplus-79bb654b80d5eb7a65814f80b9ca7ca1ccd62a00.tar.gz
manaplus-79bb654b80d5eb7a65814f80b9ca7ca1ccd62a00.tar.bz2
manaplus-79bb654b80d5eb7a65814f80b9ca7ca1ccd62a00.tar.xz
manaplus-79bb654b80d5eb7a65814f80b9ca7ca1ccd62a00.zip
Reimplement VirtFs in correct way. Now all tests should pass.
Diffstat (limited to 'src/fs/virtfs/virtdirentry.cpp')
-rw-r--r--src/fs/virtfs/virtdirentry.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/fs/virtfs/virtdirentry.cpp b/src/fs/virtfs/virtdirentry.cpp
index 7481e2a29..3cf8dd600 100644
--- a/src/fs/virtfs/virtdirentry.cpp
+++ b/src/fs/virtfs/virtdirentry.cpp
@@ -23,10 +23,11 @@
#include "debug.h"
-VirtDirEntry::VirtDirEntry(const std::string &userDir,
- const std::string &rootDir) :
- VirtFsEntry(FsEntryType::Dir),
- mUserDir(userDir)
+VirtDirEntry::VirtDirEntry(const std::string &userDir0,
+ const std::string &rootDir,
+ VirtFsFuncs *restrict const funcs0) :
+ VirtFsEntry(FsEntryType::Dir, funcs0),
+ userDir(userDir0)
{
root = rootDir;
}