diff options
| author | Stefan Boberg <[email protected]> | 2023-06-12 13:47:51 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2023-06-12 13:47:51 +0200 |
| commit | 929576f799a0a76912f1313864df8fc4800a7001 (patch) | |
| tree | b17ecc9be7b0e03cad8759905ca92a16b4ff3628 | |
| parent | narrowed scope of clang-format action (diff) | |
| download | zen-929576f799a0a76912f1313864df8fc4800a7001.tar.xz zen-929576f799a0a76912f1313864df8fc4800a7001.zip | |
drive-by const
| -rw-r--r-- | src/zenstore/filecas.cpp | 2 |
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; |