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

Unified Diff: components/sync/base/ordinal_unittest.cc

Issue 2689773002: [Sync] Replace typedef with using. (Closed)
Patch Set: [Sync] Replace typedef with using. 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
« no previous file with comments | « components/sync/base/node_ordinal.h ('k') | components/sync/base/progress_marker_map.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/base/ordinal_unittest.cc
diff --git a/components/sync/base/ordinal_unittest.cc b/components/sync/base/ordinal_unittest.cc
index 246c874145e4f798c81c7f6eb5d1eca153e59064..3f61e50612d5b3c3bf77588125a84f75a4e86f24 100644
--- a/components/sync/base/ordinal_unittest.cc
+++ b/components/sync/base/ordinal_unittest.cc
@@ -31,9 +31,9 @@ struct LargeOrdinalTraits {
static const size_t kMinLength = 1;
};
-typedef Ordinal<TestOrdinalTraits> TestOrdinal;
-typedef Ordinal<LongOrdinalTraits> LongOrdinal;
-typedef Ordinal<LargeOrdinalTraits> LargeOrdinal;
+using TestOrdinal = Ordinal<TestOrdinalTraits>;
+using LongOrdinal = Ordinal<LongOrdinalTraits>;
+using LargeOrdinal = Ordinal<LargeOrdinalTraits>;
static_assert(TestOrdinal::kZeroDigit == '0',
"incorrect TestOrdinal zero digit");
« no previous file with comments | « components/sync/base/node_ordinal.h ('k') | components/sync/base/progress_marker_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698