summaryrefslogtreecommitdiff
path: root/packages/wvstreams/files/wvstreams-debian.patch
blob: 5cb483795518c7be0aa3a198ae677e5b783904e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
--- 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();
 	}
     };
 };