From 929576f799a0a76912f1313864df8fc4800a7001 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Mon, 12 Jun 2023 13:47:51 +0200 Subject: drive-by const --- src/zenstore/filecas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/zenstore') 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; -- cgit v1.2.3