[Debtags-commits] [svn] r1705 - in tagcoll/2.0: . tagcoll
Enrico Zini
enrico at costa.debian.org
Fri May 5 09:51:29 UTC 2006
Author: enrico
Date: Fri May 5 09:51:28 2006
New Revision: 1705
Modified:
tagcoll/2.0/ (props changed)
tagcoll/2.0/tagcoll/PatchCollection.cc
tagcoll/2.0/tagcoll/ReadonlyCollection.h
Log:
r2589 at viaza: enrico | 2006-05-05 11:49:44 +0200
Committing the fixed one again
Modified: tagcoll/2.0/tagcoll/PatchCollection.cc
==============================================================================
--- tagcoll/2.0/tagcoll/PatchCollection.cc (original)
+++ tagcoll/2.0/tagcoll/PatchCollection.cc Fri May 5 09:51:28 2006
@@ -191,7 +191,7 @@
void PatchCollection<ITEM, TAG>::output(Consumer<ITEM, TAG>& cons) const
{
// First, only pass the unpatched items
- coll.output(unpatchedOnly(changes, consumer(cons)));
+ coll.outputToIterator(unpatchedOnly(changes, consumer(cons)));
// Then output the items in the patch
for (typename PatchList<ITEM, TAG>::const_iterator i = changes.begin();
Modified: tagcoll/2.0/tagcoll/ReadonlyCollection.h
==============================================================================
--- tagcoll/2.0/tagcoll/ReadonlyCollection.h (original)
+++ tagcoll/2.0/tagcoll/ReadonlyCollection.h Fri May 5 09:51:28 2006
@@ -268,7 +268,7 @@
virtual void output(Consumer<ITEM, TAG>& consumer) const = 0;
template<typename OUT>
- void output(const OUT& cons) const
+ void outputToIterator(const OUT& cons) const
{
Forwarder<OUT> forwarder(cons);
output(forwarder);
More information about the Debtags-commits
mailing list