-----------------------------------------------------------------
Revision: 90e6cdbef4f5190c0d6ec4337be80b5e5dda84b6
Ancestor: c0aeaec98b3252f78e226de4fac383e196006ee3
Author: [email protected]
Date: 2009-04-15T00:14:36
Branch: net.venge.monotone.experiment.intrusive-ptr
Modified files:
cmd_conflicts.cc cmd_merging.cc database.cc database.hh
intrusive_ptr.hh merge_conflict.cc merge_content.cc
merge_content.hh merge_roster.hh migrate_ancestry.cc
restrictions.hh rev_types.hh revision.hh roster.hh work.cc
work.hh
ChangeLog:
Switch from shared_ptr<roster_t> to intrusive_ptr<roster_t>. This
unfortunately requires moving the definitions of roster_t_cp,
marking_map_cp, cached_roster, parent_map, parent_entry to roster.hh
and thus including that header in several more places, notably work.hh
and restrictions.hh which ought not need it.
* intrusive_ptr.hh: Make the refcnt field of class
intrusively_refcounted mutable; define the add_ref/release
functions on 'T const *' as well as 'T *'.
monotone --db={your.database} diff
--revision=c0aeaec98b3252f78e226de4fac383e196006ee3
--revision=90e6cdbef4f5190c0d6ec4337be80b5e5dda84b6
----------------------------------------------------------------------
_______________________________________________
Monotone-commits-nodiffs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-commits-nodiffs