From b0d6ef00eebb7dcd03b051db63840c04243a784d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 8 Jun 2017 03:34:07 +0300 Subject: Add missing consts or string references. --- src/fs/virtfs/tools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fs/virtfs/tools.cpp') 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) -- cgit v1.2.3-60-g2f50