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

Unified Diff: components/sync/model/string_ordinal.h

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/model/model_type_sync_bridge.h ('k') | components/sync/model/sync_change_processor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/model/string_ordinal.h
diff --git a/components/sync/model/string_ordinal.h b/components/sync/model/string_ordinal.h
index 59d1485157fc03adb3863453d76e03be78471043..e375759bb6c26ac027e108ec0d5cef7ca6a66248 100644
--- a/components/sync/model/string_ordinal.h
+++ b/components/sync/model/string_ordinal.h
@@ -27,7 +27,7 @@ struct StringOrdinalTraits {
static const size_t kMinLength = 1;
};
-typedef Ordinal<StringOrdinalTraits> StringOrdinal;
+using StringOrdinal = Ordinal<StringOrdinalTraits>;
static_assert(StringOrdinal::kZeroDigit == 'a',
"StringOrdinal has incorrect zero digit");
« no previous file with comments | « components/sync/model/model_type_sync_bridge.h ('k') | components/sync/model/sync_change_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698