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

Unified Diff: components/sync/syncable/change_reorder_buffer.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/syncable/change_reorder_buffer.h ('k') | components/sync/syncable/delete_journal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/syncable/change_reorder_buffer.cc
diff --git a/components/sync/syncable/change_reorder_buffer.cc b/components/sync/syncable/change_reorder_buffer.cc
index 377692d307e2ae860a28727ac2e64488311d1694..f920d276624258bdc3e59acec938cc7b0db4d7fb 100644
--- a/components/sync/syncable/change_reorder_buffer.cc
+++ b/components/sync/syncable/change_reorder_buffer.cc
@@ -29,8 +29,8 @@ namespace syncer {
// methods can be used to explore the nodes in root-to-leaf order.
class ChangeReorderBuffer::Traversal {
public:
- typedef pair<int64_t, int64_t> ParentChildLink;
- typedef set<ParentChildLink> LinkSet;
+ using ParentChildLink = pair<int64_t, int64_t>;
+ using LinkSet = set<ParentChildLink>;
Traversal() : top_(kInvalidId) {}
« no previous file with comments | « components/sync/syncable/change_reorder_buffer.h ('k') | components/sync/syncable/delete_journal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698