diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-21 01:08:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-21 01:19:25 +0300 |
commit | bc96a817248c7ab3a60a60dc15b8c21e6665a9e4 (patch) | |
tree | 832ab58f9ada0ca3489007ba32c0fb53ac251518 /src/fs | |
parent | 46f7f1bfd524f95dcff7d422d591c9c43f542834 (diff) | |
download | manaverse-bc96a817248c7ab3a60a60dc15b8c21e6665a9e4.tar.gz manaverse-bc96a817248c7ab3a60a60dc15b8c21e6665a9e4.tar.bz2 manaverse-bc96a817248c7ab3a60a60dc15b8c21e6665a9e4.tar.xz manaverse-bc96a817248c7ab3a60a60dc15b8c21e6665a9e4.zip |
Add missing const into fsdir.cpp
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/virtfs/fsdir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/virtfs/fsdir.cpp b/src/fs/virtfs/fsdir.cpp index e205e8362..c3b0d3c66 100644 --- a/src/fs/virtfs/fsdir.cpp +++ b/src/fs/virtfs/fsdir.cpp @@ -173,7 +173,7 @@ namespace FsDir std::string dirName A_UNUSED, std::string &realDir) { - DirEntry *const dirEntry = static_cast<DirEntry*>(entry); + const DirEntry *const dirEntry = static_cast<const DirEntry*>(entry); if (Files::existsLocal(dirEntry->rootSubDir + filename)) { realDir = dirEntry->userDir; |