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

Unified Diff: net/spdy/core/hpack/hpack_static_table.cc

Issue 2895993003: Misc cleanup in net/spdy/core. (Closed)
Patch Set: Rebase. Created 3 years, 7 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/spdy/core/hpack/hpack_static_table.cc
diff --git a/net/spdy/core/hpack/hpack_static_table.cc b/net/spdy/core/hpack/hpack_static_table.cc
index 12e84d39ea2a68ca4393cbeaff3df15b2b9c2188..2eb1720609864f8c6d27f971a5662a8c2c646fbb 100644
--- a/net/spdy/core/hpack/hpack_static_table.cc
+++ b/net/spdy/core/hpack/hpack_static_table.cc
@@ -31,7 +31,7 @@ void HpackStaticTable::Initialize(const HpackStaticEntry* static_entry_table,
HpackEntry* entry = &static_entries_.back();
CHECK(static_index_.insert(entry).second);
// Multiple static entries may have the same name, so inserts may fail.
- static_name_index_.insert(make_pair(entry->name(), entry));
+ static_name_index_.insert(std::make_pair(entry->name(), entry));
++total_insertions;
}

Powered by Google App Engine
This is Rietveld 408576698