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

Unified Diff: net/http/http_response_headers_unittest.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: net/http/http_response_headers_unittest.cc
diff --git a/net/http/http_response_headers_unittest.cc b/net/http/http_response_headers_unittest.cc
index 0c960afcbca35bbd52bab09892a51005ed30fafc..3e0c2511851b2e9f382cc4b9995619028bd15c71 100644
--- a/net/http/http_response_headers_unittest.cc
+++ b/net/http/http_response_headers_unittest.cc
@@ -1819,7 +1819,7 @@ TEST_P(RemoveHeadersTest, RemoveHeaders) {
new HttpResponseHeaders(orig_headers));
std::unordered_set<std::string> to_remove;
- for (const auto& header : test.to_remove) {
+ for (auto* header : test.to_remove) {
if (header)
to_remove.insert(header);
}
« no previous file with comments | « net/http/http_network_transaction_unittest.cc ('k') | net/http2/decoder/payload_decoders/ping_payload_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698