diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/OSSupport/File.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OSSupport/File.cpp b/src/OSSupport/File.cpp index dec873ccd..0511c6083 100644 --- a/src/OSSupport/File.cpp +++ b/src/OSSupport/File.cpp @@ -334,7 +334,7 @@ bool cFile::DeleteFolder(const AString & a_FolderName) bool cFile::DeleteFolderContents(const AString & a_FolderName) { auto Contents = cFile::GetFolderContents(a_FolderName); - for (const auto item: Contents) + for (const auto & item: Contents) { // Skip "." and ".." altogether: if ((item == ".") || (item == "..")) |