[Aptitude-svn-commit] r3986 - in branches/aptitude-0.3/aptitude: .
src/generic
Daniel Burrows
dburrows at costa.debian.org
Tue Aug 30 00:45:50 UTC 2005
Author: dburrows
Date: Tue Aug 30 00:45:47 2005
New Revision: 3986
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/generic/immset.h
Log:
Fix for_each
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Tue Aug 30 00:45:47 2005
@@ -2,6 +2,10 @@
* src/generic/immset.h:
+ Doh, fix for_each.
+
+ * src/generic/immset.h:
+
Add a for_each operation that should be quicker for simple
iteration over trees.
Modified: branches/aptitude-0.3/aptitude/src/generic/immset.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/generic/immset.h (original)
+++ branches/aptitude-0.3/aptitude/src/generic/immset.h Tue Aug 30 00:45:47 2005
@@ -751,7 +751,7 @@
template<typename Op>
void for_each(const Op &o) const
{
- return contents.for_each(map_for_each(o));
+ return contents.for_each(map_for_each<Op>(o));
}
mapping_type get_bindings() const
More information about the Aptitude-svn-commit
mailing list