| Index: components/sync/base/enum_set.h
|
| diff --git a/components/sync/base/enum_set.h b/components/sync/base/enum_set.h
|
| index 2b5c8d9bc1850eb0153c494017ddc4e20c444469..1000956bc42e58e962eb75bb9357385d77d03764 100644
|
| --- a/components/sync/base/enum_set.h
|
| +++ b/components/sync/base/enum_set.h
|
| @@ -41,7 +41,7 @@ EnumSet<E, Min, Max> Difference(EnumSet<E, Min, Max> set1,
|
| template <typename E, E MinEnumValue, E MaxEnumValue>
|
| class EnumSet {
|
| public:
|
| - typedef E EnumType;
|
| + using EnumType = E;
|
| static const E kMinValue = MinEnumValue;
|
| static const E kMaxValue = MaxEnumValue;
|
| static const size_t kValueCount = kMaxValue - kMinValue + 1;
|
| @@ -49,7 +49,7 @@ class EnumSet {
|
|
|
| private:
|
| // Declaration needed by Iterator.
|
| - typedef std::bitset<kValueCount> EnumBitSet;
|
| + using EnumBitSet = std::bitset<kValueCount>;
|
|
|
| public:
|
| // Iterator is a forward-only read-only iterator for EnumSet. Its
|
|
|