aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/zenstore/filecas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenstore/filecas.cpp b/src/zenstore/filecas.cpp
index 2dd93a625..70078ecb7 100644
--- a/src/zenstore/filecas.cpp
+++ b/src/zenstore/filecas.cpp
@@ -1099,7 +1099,7 @@ FileCasStrategy::MakeIndexSnapshot()
Entries.resize(m_Index.size());
uint64_t EntryIndex = 0;
- for (auto& Entry : m_Index)
+ for (const auto& Entry : m_Index)
{
FileCasIndexEntry& IndexEntry = Entries[EntryIndex++];
IndexEntry.Key = Entry.first;