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

Unified Diff: net/spdy/hpack/hpack_header_table.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 | « net/quic/quic_stream_sequencer_buffer_test.cc ('k') | net/spdy/hpack/hpack_static_table_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/hpack/hpack_header_table.cc
diff --git a/net/spdy/hpack/hpack_header_table.cc b/net/spdy/hpack/hpack_header_table.cc
index a833def7358fbdd7b2d761da9b2e3949b6df31ec..7043ae8ec66676880a7a5f1fd010660840692d28 100644
--- a/net/spdy/hpack/hpack_header_table.cc
+++ b/net/spdy/hpack/hpack_header_table.cc
@@ -248,7 +248,7 @@ void HpackHeaderTable::DebugLogTableState() const {
DVLOG(2) << " " << it->GetDebugString();
}
DVLOG(2) << "Full Static Index:";
- for (const auto entry : static_index_) {
+ for (auto* entry : static_index_) {
DVLOG(2) << " " << entry->GetDebugString();
}
DVLOG(2) << "Full Static Name Index:";
@@ -256,7 +256,7 @@ void HpackHeaderTable::DebugLogTableState() const {
DVLOG(2) << " " << it.first << ": " << it.second->GetDebugString();
}
DVLOG(2) << "Full Dynamic Index:";
- for (const auto entry : dynamic_index_) {
+ for (auto* entry : dynamic_index_) {
DVLOG(2) << " " << entry->GetDebugString();
}
DVLOG(2) << "Full Dynamic Name Index:";
« no previous file with comments | « net/quic/quic_stream_sequencer_buffer_test.cc ('k') | net/spdy/hpack/hpack_static_table_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698