| Index: base/template_util.h
|
| diff --git a/base/template_util.h b/base/template_util.h
|
| index 10154dbbeb9ce6e6cc5cc0d07634e217760e7237..d676f58e54773eb206eeea0d1dda0c3095447f56 100644
|
| --- a/base/template_util.h
|
| +++ b/base/template_util.h
|
| @@ -64,19 +64,6 @@ struct SupportsOstreamOperator<T,
|
|
|
| } // namespace internal
|
|
|
| -// underlying_type produces the integer type backing an enum type.
|
| -// TODO(crbug.com/554293): Remove this when all platforms have this in the std
|
| -// namespace.
|
| -#if defined(CR_USE_FALLBACKS_FOR_OLD_GLIBCXX)
|
| -template <typename T>
|
| -struct underlying_type {
|
| - using type = __underlying_type(T);
|
| -};
|
| -#else
|
| -template <typename T>
|
| -using underlying_type = std::underlying_type<T>;
|
| -#endif
|
| -
|
| // TODO(crbug.com/554293): Remove this when all platforms have this in the std
|
| // namespace.
|
| #if defined(CR_USE_FALLBACKS_FOR_OLD_GLIBCXX)
|
|
|