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

Unified Diff: components/sync/base/node_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/base/model_type.h ('k') | components/sync/base/ordinal_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/base/node_ordinal.h
diff --git a/components/sync/base/node_ordinal.h b/components/sync/base/node_ordinal.h
index 385ef040e1f9400b9f4299783e413e1793c681ba..38f2cde41b14b3e2f7e84c25b78a70890cc7aa4c 100644
--- a/components/sync/base/node_ordinal.h
+++ b/components/sync/base/node_ordinal.h
@@ -23,7 +23,7 @@ struct NodeOrdinalTraits {
static const size_t kMinLength = 8;
};
-typedef Ordinal<NodeOrdinalTraits> NodeOrdinal;
+using NodeOrdinal = Ordinal<NodeOrdinalTraits>;
static_assert(static_cast<char>(NodeOrdinal::kZeroDigit) == '\x00',
"NodeOrdinal has incorrect zero digit");
« no previous file with comments | « components/sync/base/model_type.h ('k') | components/sync/base/ordinal_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698