diff options
-rw-r--r-- | common/file.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/file.cpp b/common/file.cpp index 4c9a9dd92f..a2a9e5b3c1 100644 --- a/common/file.cpp +++ b/common/file.cpp @@ -135,7 +135,7 @@ void File::addDefaultDirectoryRecursive(const String &directory, int level) { _defaultDirectories[directory] = level; - FSList fslist(dir.listDir(FilesystemNode::kListAllNoRoot)); + const FSList fslist(dir.listDir(FilesystemNode::kListAllNoRoot)); for (FSList::const_iterator file = fslist.begin(); file != fslist.end(); ++file) { if (file->isDirectory()) { |