1
0
Fork 0
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:
ζeh Matt 2022-01-28 16:26:43 +02:00
parent 251327fb9c
commit 1832ed6a48
No known key found for this signature in database
GPG key ID: 18CE582C71A225B0

View file

@ -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)