summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtfsentry.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/virtfsentry.cpp
parenta6c70dd1f32c38cc81cfd4b28f929d7c13d86db1 (diff)
downloadmanaverse-79bb654b80d5eb7a65814f80b9ca7ca1ccd62a00.tar.gz
manaverse-79bb654b80d5eb7a65814f80b9ca7ca1ccd62a00.tar.bz2
manaverse-79bb654b80d5eb7a65814f80b9ca7ca1ccd62a00.tar.xz
manaverse-79bb654b80d5eb7a65814f80b9ca7ca1ccd62a00.zip
Reimplement VirtFs in correct way. Now all tests should pass.
Diffstat (limited to 'src/fs/virtfs/virtfsentry.cpp')
-rw-r--r--src/fs/virtfs/virtfsentry.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/fs/virtfs/virtfsentry.cpp b/src/fs/virtfs/virtfsentry.cpp
index 61ccedccc..2a5cead24 100644
--- a/src/fs/virtfs/virtfsentry.cpp
+++ b/src/fs/virtfs/virtfsentry.cpp
@@ -22,11 +22,15 @@
#include "fs/virtfs/virtfsentry.h"
+#include "fs/virtfsfuncs.h"
+
#include "debug.h"
-VirtFsEntry::VirtFsEntry(const FsEntryType &type0) :
+VirtFsEntry::VirtFsEntry(const FsEntryType &type0,
+ VirtFsFuncs *restrict const funcs0) :
root(),
- type(type0)
+ type(type0),
+ funcs(funcs0)
{
}