Use pop_back to shrink the stack

C++20
ζeh Matt 3 years ago
parent 251327fb9c
commit 1832ed6a48
No known key found for this signature in database
GPG Key ID: 18CE582C71A225B0

@ -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…
Cancel
Save