Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Unified Diff: components/update_client/update_response.cc

Issue 2691393002: Fix auto raw pointer deduction on linux (Closed)
Patch Set: rebase Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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});
« no previous file with comments | « components/tracing/test/proto_zero_generation_unittest.cc ('k') | content/browser/accessibility/ax_platform_position.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698