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

Unified Diff: services/catalog/reader.cc

Issue 2105123002: various: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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
« no previous file with comments | « remoting/protocol/webrtc_transport.cc ('k') | services/tracing/tracing_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/catalog/reader.cc
diff --git a/services/catalog/reader.cc b/services/catalog/reader.cc
index ad8dd74887387b0bbb87b7287489088a42323048..1f4a4eff3d294c1f09a544c3bf733e79ad9df1b4 100644
--- a/services/catalog/reader.cc
+++ b/services/catalog/reader.cc
@@ -133,7 +133,7 @@ std::unique_ptr<Entry> ReadManifest(const base::FilePath& package_dir,
}
void AddEntryToCache(EntryCache* cache, std::unique_ptr<Entry> entry) {
- for (auto child : entry->applications())
+ for (auto* child : entry->applications())
AddEntryToCache(cache, base::WrapUnique(child));
(*cache)[entry->name()] = std::move(entry);
}
« no previous file with comments | « remoting/protocol/webrtc_transport.cc ('k') | services/tracing/tracing_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698