diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-04 15:46:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-04 15:46:57 +0300 |
commit | a2b47884703ddfb1b660e8bdbfcc2b0917ece3b0 (patch) | |
tree | 65b9ba6798545cae4f09b3a43b14761045b5ba56 /src | |
parent | a8259534febe297158507dda53126dffa77e9c56 (diff) | |
download | mv-a2b47884703ddfb1b660e8bdbfcc2b0917ece3b0.tar.gz mv-a2b47884703ddfb1b660e8bdbfcc2b0917ece3b0.tar.bz2 mv-a2b47884703ddfb1b660e8bdbfcc2b0917ece3b0.tar.xz mv-a2b47884703ddfb1b660e8bdbfcc2b0917ece3b0.zip |
Fix compilation with old compilers.
Diffstat (limited to 'src')
-rw-r--r-- | src/fs/virtfs/virtfs.cpp | 2 | ||||
-rw-r--r-- | src/fs/virtfs/virtfs.h | 2 | ||||
-rw-r--r-- | src/fs/virtfs/virtfsentry.cpp | 2 | ||||
-rw-r--r-- | src/fs/virtfs/virtfsentry.h | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/fs/virtfs/virtfs.cpp b/src/fs/virtfs/virtfs.cpp index 2bd59a0a2..ad9c28d53 100644 --- a/src/fs/virtfs/virtfs.cpp +++ b/src/fs/virtfs/virtfs.cpp @@ -103,7 +103,7 @@ namespace VirtFs } VirtFsEntry *searchEntryInternal(const std::string &restrict root, - const FsEntryType type) + const FsEntryTypeT type) { FOR_EACH (std::vector<VirtFsEntry*>::const_iterator, it, mEntries) { diff --git a/src/fs/virtfs/virtfs.h b/src/fs/virtfs/virtfs.h index a5e9f438b..056cb3673 100644 --- a/src/fs/virtfs/virtfs.h +++ b/src/fs/virtfs/virtfs.h @@ -41,7 +41,7 @@ namespace VirtFs VirtFsEntry *searchEntryByRootInternal(const std::string &restrict root); VirtFsEntry *searchEntryInternal(const std::string &restrict root, - const FsEntryType type); + const FsEntryTypeT type); void addEntry(VirtFsEntry *const entry, const Append append); #ifdef UNITTESTS diff --git a/src/fs/virtfs/virtfsentry.cpp b/src/fs/virtfs/virtfsentry.cpp index 2a5cead24..274415bef 100644 --- a/src/fs/virtfs/virtfsentry.cpp +++ b/src/fs/virtfs/virtfsentry.cpp @@ -26,7 +26,7 @@ #include "debug.h" -VirtFsEntry::VirtFsEntry(const FsEntryType &type0, +VirtFsEntry::VirtFsEntry(const FsEntryTypeT &type0, VirtFsFuncs *restrict const funcs0) : root(), type(type0), diff --git a/src/fs/virtfs/virtfsentry.h b/src/fs/virtfs/virtfsentry.h index 367b90b2c..56a1e71ee 100644 --- a/src/fs/virtfs/virtfsentry.h +++ b/src/fs/virtfs/virtfsentry.h @@ -32,7 +32,7 @@ struct VirtFsFuncs; struct VirtFsEntry notfinal { - VirtFsEntry(const FsEntryType &type0, + VirtFsEntry(const FsEntryTypeT &type0, VirtFsFuncs *restrict const funcs); A_DELETE_COPY(VirtFsEntry) @@ -41,7 +41,7 @@ struct VirtFsEntry notfinal std::string root; - FsEntryType type; + FsEntryTypeT type; VirtFsFuncs *funcs; }; |