mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-17 17:08:39 +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
|
@ -94,7 +94,7 @@ class ServerMapSector : public MapSector
|
|||
{
|
||||
public:
|
||||
ServerMapSector(Map *parent, v2s16 pos, IGameDef *gamedef);
|
||||
~ServerMapSector();
|
||||
~ServerMapSector() = default;
|
||||
|
||||
u32 getId() const
|
||||
{
|
||||
|
@ -124,7 +124,7 @@ class ClientMapSector : public MapSector
|
|||
{
|
||||
public:
|
||||
ClientMapSector(Map *parent, v2s16 pos, IGameDef *gamedef);
|
||||
~ClientMapSector();
|
||||
~ClientMapSector() = default;
|
||||
|
||||
u32 getId() const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue