[Aptitude-svn-commit] r4096 - in branches/aptitude-0.3/aptitude: . src/generic

Daniel Burrows dburrows at costa.debian.org
Thu Sep 15 20:47:14 UTC 2005


Author: dburrows
Date: Thu Sep 15 20:47:11 2005
New Revision: 4096

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/generic/threads.h
Log:
Add a constructor to direcly set the filled state of void boxes.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Thu Sep 15 20:47:11 2005
@@ -1,5 +1,10 @@
 2005-09-15  Daniel Burrows  <dburrows at debian.org>
 
+	* src/generic/threads.h:
+
+	  Let the filled state of void boxes be directly set in the
+	  constructor.
+
 	* src/download_list.cc:
 
 	  Fix a divide-by-zero.

Modified: branches/aptitude-0.3/aptitude/src/generic/threads.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/generic/threads.h	(original)
+++ branches/aptitude-0.3/aptitude/src/generic/threads.h	Thu Sep 15 20:47:11 2005
@@ -605,6 +605,11 @@
     {
     }
 
+    box(bool _filled)
+      :filled(_filled)
+    {
+    }
+
     void take();
 
     void put();



More information about the Aptitude-svn-commit mailing list