[Debtags-commits] [svn] r1970 - in tagcoll/2.0: . tagcoll/stream

Enrico Zini enrico at costa.debian.org
Fri Sep 29 20:13:19 UTC 2006


Author: enrico
Date: Fri Sep 29 20:13:18 2006
New Revision: 1970

Modified:
   tagcoll/2.0/   (props changed)
   tagcoll/2.0/tagcoll/stream/filters-tut.cc
   tagcoll/2.0/tagcoll/stream/filters.h
Log:
 r3440 at viaza:  enrico | 2006-09-29 22:04:22 +0200
 Account for the possibility that size_t != unsigned int


Modified: tagcoll/2.0/tagcoll/stream/filters-tut.cc
==============================================================================
--- tagcoll/2.0/tagcoll/stream/filters-tut.cc	(original)
+++ tagcoll/2.0/tagcoll/stream/filters-tut.cc	Fri Sep 29 20:13:18 2006
@@ -193,10 +193,10 @@
 			"b: \n"
 			"c: b1, b2, b3, b4, b5\n"
 			);
-	coll::Simple<string, unsigned int> result;
+	coll::Simple<string, size_t> result;
 	parseCollection(input_coll, tagCounter(inserter(result))); 
 
-	std::set<unsigned int> tagset;
+	std::set<size_t> tagset;
 
 	tagset = result.getTagsOfItem("a");
 	ensure_equals(tagset.size(), 1u);

Modified: tagcoll/2.0/tagcoll/stream/filters.h
==============================================================================
--- tagcoll/2.0/tagcoll/stream/filters.h	(original)
+++ tagcoll/2.0/tagcoll/stream/filters.h	Fri Sep 29 20:13:18 2006
@@ -215,7 +215,7 @@
 
 
 /**
- * Replace the tagsets with a wibble::Singleton<unsigned int> that contains
+ * Replace the tagsets with a wibble::Singleton<size_t> that contains
  * their size
  */
 template<typename OUT>



More information about the Debtags-commits mailing list