summaryrefslogtreecommitdiff
path: root/src/storage
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage')
-rw-r--r--src/storage/StorageState.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/StorageState.cxx b/src/storage/StorageState.cxx
index b5fba35af..a93ed6f28 100644
--- a/src/storage/StorageState.cxx
+++ b/src/storage/StorageState.cxx
@@ -139,7 +139,7 @@ storage_state_get_hash(const Instance &instance)
boost::crc_32_type result;
- for (auto mount: mounts) {
+ for (const auto& mount : mounts) {
result.process_bytes(mount.c_str(), mount.length());
}