Minor fixes
1. Improve const correctness in a few places (such as `Container::getMaxStackSize()` -> `Container::getMaxStackSize() const`) 2. Use C++11 varargs for `I18n::get`, `Entity::newDoubleList` and `Language::getElement`
This commit is contained in:
@@ -91,7 +91,7 @@ void Slot::setChanged()
|
||||
container->setChanged();
|
||||
}
|
||||
|
||||
int Slot::getMaxStackSize()
|
||||
int Slot::getMaxStackSize() const
|
||||
{
|
||||
return container->getMaxStackSize();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user