ports/devel/tinyq/files/patch-include-qvaluestack.h
Dmitry Marakasov bacbb80133 - Add LICENSE
- Silence stripping
- Regenerate patches with `make makepatch`
2016-03-30 00:53:44 +00:00

17 lines
475 B
C++

--- include/qvaluestack.h.orig 2002-10-17 15:08:58 UTC
+++ include/qvaluestack.h
@@ -50,12 +50,12 @@ class QValueStack
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(); }