summaryrefslogtreecommitdiff
path: root/src/shared/fileentry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/fileentry.cpp')
-rw-r--r--src/shared/fileentry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/fileentry.cpp b/src/shared/fileentry.cpp
index 559eae64..5be9a9dc 100644
--- a/src/shared/fileentry.cpp
+++ b/src/shared/fileentry.cpp
@@ -192,7 +192,7 @@ bool FileEntry::isFromArchive(std::wstring archiveName) const
return true;
}
- for (auto alternative : m_Alternatives) {
+ for (const auto& alternative : m_Alternatives) {
if (alternative.archive().name().compare(archiveName) == 0) {
return true;
}