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

Unified Diff: net/base/ip_address_unittest.cc

Issue 2101863004: net: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | net/base/parse_number_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/ip_address_unittest.cc
diff --git a/net/base/ip_address_unittest.cc b/net/base/ip_address_unittest.cc
index 09ff7451367dbcc553972bb3be46949d3c488ac7..b7a04ad213f3aedd5937dd8abe7a7f272436a623 100644
--- a/net/base/ip_address_unittest.cc
+++ b/net/base/ip_address_unittest.cc
@@ -504,7 +504,7 @@ TEST(IPAddressTest, ParseCIDRBlock_Invalid) {
"192.168.1.1/ +1",
"192.168.1.1/"};
- for (const auto& bad_literal : bad_literals) {
+ for (auto* bad_literal : bad_literals) {
IPAddress ip_address;
size_t prefix_length_in_bits;
« no previous file with comments | « no previous file | net/base/parse_number_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698