diff options
Diffstat (limited to 'common')
| -rw-r--r-- | common/stack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/stack.h b/common/stack.h index add790d695..3b869b29d1 100644 --- a/common/stack.h +++ b/common/stack.h @@ -57,7 +57,7 @@ public: T pop() { T tmp; assert(_size > 0); - tmp = _stack[_size]; + tmp = _stack[_size - 1]; _stack[--_size] = 0; return tmp; } |
