diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-08 03:34:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-08 03:34:07 +0300 |
commit | b0d6ef00eebb7dcd03b051db63840c04243a784d (patch) | |
tree | 8998572186af79ee342ba3515ae8fe52875ede1c /src/fs | |
parent | 4acdea8dc3c12147965f63b2974d192d8cd0ed34 (diff) | |
download | manaverse-b0d6ef00eebb7dcd03b051db63840c04243a784d.tar.gz manaverse-b0d6ef00eebb7dcd03b051db63840c04243a784d.tar.bz2 manaverse-b0d6ef00eebb7dcd03b051db63840c04243a784d.tar.xz manaverse-b0d6ef00eebb7dcd03b051db63840c04243a784d.zip |
Add missing consts or string references.
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/virtfs/tools.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/virtfs/tools.cpp b/src/fs/virtfs/tools.cpp index 7850d056b..b0d6ce067 100644 --- a/src/fs/virtfs/tools.cpp +++ b/src/fs/virtfs/tools.cpp @@ -80,7 +80,7 @@ namespace VirtFs StringVect &list, const std::string &ext) { - const std::string path = dir; + const std::string &path = dir; StringVect tempList; VirtFs::getFilesWithDir(path, tempList); FOR_EACH (StringVectCIter, it, tempList) |