mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
17 lines
475 B
C++
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(); }
|