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

Unified Diff: net/http2/http2_structures_test.cc

Issue 2797793002: Remove base::underlying_type, replace uses with std::underlying_type (Closed)
Patch Set: underlyingtype: rm-tests Created 3 years, 8 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/http2_structures_test.cc
diff --git a/net/http2/http2_structures_test.cc b/net/http2/http2_structures_test.cc
index a87b3a0d6dc53587b53bf5799205f15787a00d10..cce65fe6174dbc6032ac15ce60b3550d252f0d95 100644
--- a/net/http2/http2_structures_test.cc
+++ b/net/http2/http2_structures_test.cc
@@ -18,7 +18,6 @@
#include <type_traits>
#include <vector>
-#include "base/template_util.h"
#include "net/http2/http2_structures_test_util.h"
#include "net/http2/tools/failure.h"
#include "net/http2/tools/http2_random.h"
@@ -42,7 +41,7 @@ namespace {
template <typename E>
E IncrementEnum(E e) {
- typedef typename base::underlying_type<E>::type I;
+ using I = typename std::underlying_type<E>::type;
return static_cast<E>(1 + static_cast<I>(e));
}
« no previous file with comments | « mojo/public/tools/bindings/generators/cpp_templates/enum_macros.tmpl ('k') | net/http2/tools/random_decoder_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698