monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] net.venge.monotone.whitespace-cleanup: c605363


From: code
Subject: [Monotone-commits-diffs] net.venge.monotone.whitespace-cleanup: c605363c7792a1f0c09c792ec8a0cb49c8ab257d
Date: Sun, 10 Apr 2011 11:22:44 +0200 (CEST)

revision:            c605363c7792a1f0c09c792ec8a0cb49c8ab257d
date:                2011-04-09T23:08:31
author:              Richard Hopkins <address@hidden>
branch:              net.venge.monotone.whitespace-cleanup
changelog:
Restored code formatting for annotate typedef for readability

manifest:
format_version "1"

new_manifest [11842229b9a7a12b1e9f47b3f708c385355857eb]

old_revision [769a396132dc401b1348aa7dd1372b1a93b2e6a0]

patch "src/annotate.cc"
 from [367d929da9478cdb8fe019e30b1efb5dc698121b]
   to [20967a20c46eff02daaebfe13ad5acad62365b3e]
============================================================
--- src/annotate.cc	367d929da9478cdb8fe019e30b1efb5dc698121b
+++ src/annotate.cc	20967a20c46eff02daaebfe13ad5acad62365b3e
@@ -196,17 +196,17 @@ struct by_rev {};
 // indexed by both, their revision and their revision's height, with the
 // latter being used by default. usage of that data structure frees us from
 // the burden of keeping two data structures in sync.
-typedef multi_index_container <
-annotate_node_work,
-indexed_by <
-ordered_unique <
-member<annotate_node_work, rev_height, &annotate_node_work::height>,
-std::greater<rev_height> > ,
-ordered_unique <
-tag<by_rev>,
-member<annotate_node_work, revision_id, &annotate_node_work::revision> >
->
-> work_units;
+typedef multi_index_container<
+  annotate_node_work,
+  indexed_by<
+    ordered_unique<
+      member<annotate_node_work,rev_height,&annotate_node_work::height>,
+      std::greater<rev_height> >,
+    ordered_unique<
+      tag<by_rev>,
+      member<annotate_node_work,revision_id,&annotate_node_work::revision> >
+    >
+  > work_units;
 
 
 annotate_context::annotate_context(app_state & app, project_t & project, file_id fid)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]