package wvstreams
severity 387989 serious
tags 387989 + lenny sid patch
tags 423967 + fixed-upstream patch
user [EMAIL PROTECTED]
usertag 423967 ftbfs-gcc-4.2
merge 387989 423967
kthxbye

These are the same bug, and the same patch fixes both.  It is attached.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
--- wvstreams.old/include/wvvector.h	2005-11-24 19:46:46.000000000 +0000
+++ wvstreams-4.2.2/include/wvvector.h	2007-07-24 06:35:55.000000000 +0000
@@ -358,7 +358,7 @@
 	/** Returns a pointer to the current element */
 	T *ptr() const
 	{
-	    return static_cast<T *>(cur()->data);
+	    return static_cast<T *>(this->cur()->data);
 	}
 
 	WvIterStuff(T);
@@ -368,7 +368,7 @@
 	 */
 	bool get_autofree() const
 	{
-	    return link->get_autofree();
+	    return this->link->get_autofree();
 	}
 
 	/**
@@ -376,7 +376,7 @@
 	 */
 	void set_autofree(bool autofree)
 	{
-	    link->set_autofree(autofree);
+	    this->link->set_autofree(autofree);
 	}
 
         /**
@@ -386,7 +386,7 @@
          */
         void remove(bool destroy = true)
         {
-	    WvVector::vec.remove(i, destroy);
+	    WvVector::vec.remove(this->i, destroy);
         }
 
         /**
@@ -404,8 +404,8 @@
          */
 	void xremove(bool destroy = true)
 	{
-	    WvVector::vec.remove(i, destroy);
-	    prev();
+	    WvVector::vec.remove(this->i, destroy);
+	    this->prev();
 	}
     };
 };

Attachment: signature.asc
Description: Digital signature

Reply via email to