1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-15 19:42:10 +00:00

Fix structs being declared as classes

Some compilers complain when a class is declared as a struct or vice
versa. Fix by making sure that the correct tag is used both in
declaration and definition.
This commit is contained in:
Giuseppe Bilotta 2011-11-14 18:40:41 +01:00 committed by Perttu Ahola
parent 4d0f227c70
commit 96c30452f9
3 changed files with 3 additions and 3 deletions

View file

@ -93,7 +93,7 @@ struct DiggingProperties
u16 wear;
};
class ToolDiggingProperties;
struct ToolDiggingProperties;
class INodeDefManager;
DiggingProperties getDiggingProperties(u16 content, ToolDiggingProperties *tp,