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

Unified Diff: net/http2/hpack/decoder/hpack_decoder_tables.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/http2/hpack/decoder/hpack_decoder_tables.cc
diff --git a/net/http2/hpack/decoder/hpack_decoder_tables.cc b/net/http2/hpack/decoder/hpack_decoder_tables.cc
index fb8f47b4756709c2ff19f86ff011668593512572..61e7970b32bf9d0145b3ad3eba5716c4f6c60b85 100644
--- a/net/http2/hpack/decoder/hpack_decoder_tables.cc
+++ b/net/http2/hpack/decoder/hpack_decoder_tables.cc
@@ -10,7 +10,7 @@ namespace net {
namespace {
std::vector<HpackStringPair>* MakeStaticTable() {
- auto ptr = new std::vector<HpackStringPair>();
+ auto* ptr = new std::vector<HpackStringPair>();
ptr->reserve(kFirstDynamicTableIndex);
ptr->emplace_back("", "");
« no previous file with comments | « net/http2/decoder/payload_decoders/ping_payload_decoder.cc ('k') | net/http2/hpack/huffman/http2_hpack_huffman_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698