Index: components/update_client/update_response.cc |
diff --git a/components/update_client/update_response.cc b/components/update_client/update_response.cc |
index f9eefe80c60fc9917644488dfcb53f196bac530b..7f6212988716e9c74d332ce18ae9202bc12ffa7f 100644 |
--- a/components/update_client/update_response.cc |
+++ b/components/update_client/update_response.cc |
@@ -302,7 +302,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}); |