aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2006-04-04 21:18:58 +0000
committerMax Horn2006-04-04 21:18:58 +0000
commit935ed2dadb282cadf32b0f53285a5446ac10739d (patch)
tree2701209f0bae611eee2daa4e57773a657c8d7fdc
parent7ba17e0574652a3759e3c2fbe1430a880db33b48 (diff)
downloadscummvm-rg350-935ed2dadb282cadf32b0f53285a5446ac10739d.tar.gz
scummvm-rg350-935ed2dadb282cadf32b0f53285a5446ac10739d.tar.bz2
scummvm-rg350-935ed2dadb282cadf32b0f53285a5446ac10739d.zip
Added const qualifier
svn-id: r21603
-rw-r--r--common/file.cpp2
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()) {