summaryrefslogtreecommitdiff
path: root/devel/tinyq/files/patch-include-qvaluestack.h
blob: d20aece2a0c74f9f04c904b4fb98a625d77ee0d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- include/qvaluestack.h.orig	2002-10-17 15:08:58.000000000 +0000
+++ include/qvaluestack.h	2012-09-03 22:17:15.000000000 +0000
@@ -50,12 +50,12 @@
 public:
     QValueStack() {}
    ~QValueStack() {}
-    void  push( const T& d ) { append(d); }
+    void  push( const T& d ) { this->append(d); }
     T pop()
     {
 	T elem( this->last() );
 	if ( !this->isEmpty() )
-	    remove( this->fromLast() );
+	   this->remove( this->fromLast() );
 	return elem;
     }
     T& top() { return this->last(); }