1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-12-06 07:25:26 +01:00

Address some clang-tidy warnings

This commit is contained in:
sfan5
2023-12-23 13:02:17 +01:00
parent 322c4a5b2b
commit 961652c2e9
17 changed files with 35 additions and 36 deletions

View File

@@ -164,7 +164,7 @@ struct ItemStack
// Checks if another itemstack would stack with this one.
// Does not check if the item actually fits in the stack.
bool stacksWith(ItemStack other) const;
bool stacksWith(const ItemStack &other) const;
// Takes some items.
// If there are not enough, takes as many as it can.