diff options
Diffstat (limited to 'common/stack.h')
-rw-r--r-- | common/stack.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/common/stack.h b/common/stack.h index e20e81028d..be6f1b8d10 100644 --- a/common/stack.h +++ b/common/stack.h @@ -83,16 +83,13 @@ public: */ template<class T> class Stack { -protected: +private: Array<T> _stack; + public: Stack<T>() {} Stack<T>(const Array<T> &stackContent) : _stack(stackContent) {} - Stack<T>& operator=(const Stack<T> &st) { - _stack = st._stack; - return *this; - } bool empty() const { return _stack.empty(); } |