mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-03 03:39:42 +00:00
Use pop_back to shrink the stack
This commit is contained in:
parent
251327fb9c
commit
1832ed6a48
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ namespace Interpreter
|
|||
if (mStack.empty())
|
||||
throw std::runtime_error ("stack underflow");
|
||||
|
||||
mStack.resize (mStack.size()-1);
|
||||
mStack.pop_back();
|
||||
}
|
||||
|
||||
Data& Runtime::operator[] (int Index)
|
||||
|
|
Loading…
Reference in a new issue