Index: components/update_client/update_response.cc |
diff --git a/components/update_client/update_response.cc b/components/update_client/update_response.cc |
index 41670d317de9ff25162350fc280a42caa360b4f3..ef1aa2af693f709b44b97337f0fdbabfabb9c551 100644 |
--- a/components/update_client/update_response.cc |
+++ b/components/update_client/update_response.cc |
@@ -291,7 +291,7 @@ bool ParseAppTag(xmlNode* app, |
static const char* attrs[] = {UpdateResponse::Result::kCohort, |
UpdateResponse::Result::kCohortHint, |
UpdateResponse::Result::kCohortName}; |
- for (const auto& attr : attrs) { |
+ for (auto* attr : attrs) { |
auto value = GetAttributePtr(app, attr); |
if (value) |
result->cohort_attrs.insert({attr, *value}); |