mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-29 05:17:58 +03:00
Fix variable naming styleguide
This commit is contained in:
parent
0ab3090385
commit
60eede6a1d
2 changed files with 4 additions and 4 deletions
|
@ -90,12 +90,12 @@ namespace Interpreter
|
|||
mStack.pop_back();
|
||||
}
|
||||
|
||||
Data& Runtime::operator[](int Index)
|
||||
Data& Runtime::operator[](int index)
|
||||
{
|
||||
if (Index < 0 || Index >= static_cast<int>(mStack.size()))
|
||||
if (index < 0 || index >= static_cast<int>(mStack.size()))
|
||||
throw std::runtime_error("stack index out of range");
|
||||
|
||||
return mStack[mStack.size() - Index - 1];
|
||||
return mStack[mStack.size() - index - 1];
|
||||
}
|
||||
|
||||
Context& Runtime::getContext()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue