summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtdirentry.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-05 01:02:44 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-05 01:24:38 +0300
commit7594ad94dfdf580a82fb07ddb346442160b3d91d (patch)
tree9c9d0fc0b9ea0b7b1f4c550454ed0e3b458b7e2d /src/fs/virtfs/virtdirentry.h
parent78195f2492032637bfa9ce663ae7903dbf07f609 (diff)
downloadmanaverse-7594ad94dfdf580a82fb07ddb346442160b3d91d.tar.gz
manaverse-7594ad94dfdf580a82fb07ddb346442160b3d91d.tar.bz2
manaverse-7594ad94dfdf580a82fb07ddb346442160b3d91d.tar.xz
manaverse-7594ad94dfdf580a82fb07ddb346442160b3d91d.zip
Add VirtFs namespace into all files in virtfs directory.
Diffstat (limited to 'src/fs/virtfs/virtdirentry.h')
-rw-r--r--src/fs/virtfs/virtdirentry.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/fs/virtfs/virtdirentry.h b/src/fs/virtfs/virtdirentry.h
index 282eb21cd..fa5eabb16 100644
--- a/src/fs/virtfs/virtdirentry.h
+++ b/src/fs/virtfs/virtdirentry.h
@@ -25,17 +25,22 @@
#include "localconsts.h"
-struct VirtDirEntry final : public VirtFsEntry
+namespace VirtFs
{
- VirtDirEntry(const std::string &userDir,
+
+struct DirEntry final : public VirtFsEntry
+{
+ DirEntry(const std::string &userDir,
const std::string &rootDir,
VirtFsFuncs *restrict const funcs);
- A_DELETE_COPY(VirtDirEntry)
+ A_DELETE_COPY(DirEntry)
- ~VirtDirEntry();
+ ~DirEntry();
std::string userDir;
};
+} // namespace VirtFs
+
#endif // UTILS_VIRTDIRENTRY_H