mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Address some clang-tidy warnings
This commit is contained in:
parent
322c4a5b2b
commit
961652c2e9
17 changed files with 35 additions and 36 deletions
|
@ -392,7 +392,7 @@ bool ItemStack::itemFits(ItemStack newitem,
|
|||
return newitem.empty();
|
||||
}
|
||||
|
||||
bool ItemStack::stacksWith(ItemStack other) const
|
||||
bool ItemStack::stacksWith(const ItemStack &other) const
|
||||
{
|
||||
return (this->name == other.name &&
|
||||
this->wear == other.wear &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue