mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Modernize various files (src/m*) (#6267)
* Modernize various files (src/m*) * range-based for loops * code style * C++ headers instead of C headers * Default operators * empty function Thanks to clang-tidy
This commit is contained in:
parent
fb196be8cf
commit
c427533389
34 changed files with 254 additions and 355 deletions
|
@ -137,8 +137,7 @@ struct MapNode
|
|||
*/
|
||||
u8 param2;
|
||||
|
||||
MapNode()
|
||||
{ }
|
||||
MapNode() = default;
|
||||
|
||||
MapNode(content_t content, u8 a_param1=0, u8 a_param2=0)
|
||||
: param0(content),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue