diff options
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() |