summaryrefslogtreecommitdiff
path: root/qmake/include/qvaluestack.h
Side-by-side diff
Diffstat (limited to 'qmake/include/qvaluestack.h') (more/less context) (ignore whitespace changes)
-rw-r--r--qmake/include/qvaluestack.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qmake/include/qvaluestack.h b/qmake/include/qvaluestack.h
index 7e9bc48..c3f966e 100644
--- a/qmake/include/qvaluestack.h
+++ b/qmake/include/qvaluestack.h
@@ -2,13 +2,13 @@
** $Id$
**
** Definition of QValueStack class
**
** Created : 990925
**
-** Copyright (C) 1992-2000 Trolltech AS. All rights reserved.
+** Copyright (C) 1992-2003 Trolltech AS. All rights reserved.
**
** This file is part of the tools module of the Qt GUI Toolkit.
**
** This file may be distributed under the terms of the Q Public License
** as defined by Trolltech AS of Norway and appearing in the file
** LICENSE.QPL included in the packaging of this file.
@@ -51,13 +51,13 @@ public:
~QValueStack() {}
void push( const T& d ) { 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(); }
const T& top() const { return this->last(); }
};