[Debtags-commits] [svn] r1586 - in tagcoll/trunk: . tagcoll

Enrico Zini enrico at costa.debian.org
Thu Feb 16 13:02:49 UTC 2006


Author: enrico
Date: Thu Feb 16 13:02:47 2006
New Revision: 1586

Modified:
   tagcoll/trunk/   (props changed)
   tagcoll/trunk/tagcoll/PatchCollection.cc
   tagcoll/trunk/tagcoll/Patches.h
   tagcoll/trunk/tagcoll/TextFormat.cc
Log:
 r7340 at viaza:  enrico | 2006-02-16 14:02:19 +0100
 Fixed cosmetical issues that were causing compiler warnings


Modified: tagcoll/trunk/tagcoll/PatchCollection.cc
==============================================================================
--- tagcoll/trunk/tagcoll/PatchCollection.cc	(original)
+++ tagcoll/trunk/tagcoll/PatchCollection.cc	Thu Feb 16 13:02:47 2006
@@ -127,14 +127,14 @@
 class TagCollector : public Consumer<ITEM, TAG>, public OpSet<TAG>
 {
 protected:
-	virtual void consumeItemUntagged(const ITEM& item) {}
-	virtual void consumeItemsUntagged(const OpSet<ITEM>& item) {}
+	virtual void consumeItemUntagged(const ITEM&) {}
+	virtual void consumeItemsUntagged(const OpSet<ITEM>&) {}
 
-	virtual void consumeItem(const ITEM& item, const OpSet<TAG>& tags)
+	virtual void consumeItem(const ITEM&, const OpSet<TAG>& tags)
 	{
 		*this += tags;
 	}
-	virtual void consumeItems(const OpSet<ITEM>& items, const OpSet<TAG>& tags)
+	virtual void consumeItems(const OpSet<ITEM>&, const OpSet<TAG>& tags)
 	{
 		*this += tags;
 	}

Modified: tagcoll/trunk/tagcoll/Patches.h
==============================================================================
--- tagcoll/trunk/tagcoll/Patches.h	(original)
+++ tagcoll/trunk/tagcoll/Patches.h	Thu Feb 16 13:02:47 2006
@@ -101,7 +101,7 @@
 public:
 	PatchList() : Filter<ITEM, TAG>() {}
 	PatchList(Consumer<ITEM, TAG>& consumer) : Filter<ITEM, TAG>(consumer) {}
-	PatchList(const PatchList& pl) : std::map<ITEM, Patch<ITEM, TAG> >(pl) {}
+	PatchList(const PatchList& pl) : std::map<ITEM, Patch<ITEM, TAG> >(pl), Filter<ITEM, TAG>(pl) {}
 	PatchList(const PatchList& pl, Consumer<ITEM, TAG>& consumer) : 
 		std::map<ITEM, Patch<ITEM, TAG> >(pl),
 		Filter<ITEM, TAG>(consumer) {}

Modified: tagcoll/trunk/tagcoll/TextFormat.cc
==============================================================================
--- tagcoll/trunk/tagcoll/TextFormat.cc	(original)
+++ tagcoll/trunk/tagcoll/TextFormat.cc	Thu Feb 16 13:02:47 2006
@@ -317,7 +317,7 @@
 	const Converter<std::string, ITEM>& itemconv;
 	const Converter<std::string, TAG>& tagconv;
 
-	virtual void consumeItemUntagged(const string& item) {}
+	virtual void consumeItemUntagged(const string&) {}
 
 	virtual void consumeItem(const string& item, const OpSet<string>& tags)
 	{
@@ -338,7 +338,7 @@
 		patch.addPatch(p);
 	}
 
-	virtual void consumeItemsUntagged(const OpSet<string>& items) {}
+	virtual void consumeItemsUntagged(const OpSet<string>&) {}
 
 	virtual void consumeItems(const OpSet<string>& items, const OpSet<string>& tags)
 	{



More information about the Debtags-commits mailing list