summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-09-04 14:05:35 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2023-09-04 14:05:35 +0000
commit601af030f40b9b7d270e59fbff68dbf32583fef4 (patch)
tree6763c964e4359b284697875961b9a2cd3b6e96cd /storage
parent5f9ef04076bb9ee0e9866380ee5af1a85b21509b (diff)
Better naming
Diffstat (limited to 'storage')
-rw-r--r--storage/src/vespa/storage/distributor/activecopy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/src/vespa/storage/distributor/activecopy.cpp b/storage/src/vespa/storage/distributor/activecopy.cpp
index 4659142ddb5..e9d6d8cca30 100644
--- a/storage/src/vespa/storage/distributor/activecopy.cpp
+++ b/storage/src/vespa/storage/distributor/activecopy.cpp
@@ -170,8 +170,8 @@ ActiveList::print(std::ostream& out, bool verbose, const std::string& indent) co
{
out << "[";
if (verbose) {
- for (auto i : _v) {
- out << "\n" << indent << " " << i.nodeIndex() << " " << i.getReason();
+ for (const auto & copy : _v) {
+ out << "\n" << indent << " " << copy.nodeIndex() << " " << copy.getReason();
}
if (!_v.empty()) {
out << "\n" << indent;