diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-08-18 18:18:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-18 18:18:25 +0200 |
commit | c42753338924bb29c61081c9f269772f89bcd808 (patch) | |
tree | 3ccbf49ad802c57a1288ea978268315b68d8e65f /src/mapsector.h | |
parent | fb196be8cf8606cfab144e2fe62d9c9d1f50932f (diff) | |
download | minetest-c42753338924bb29c61081c9f269772f89bcd808.tar.gz minetest-c42753338924bb29c61081c9f269772f89bcd808.tar.bz2 minetest-c42753338924bb29c61081c9f269772f89bcd808.zip |
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
Diffstat (limited to 'src/mapsector.h')
-rw-r--r-- | src/mapsector.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mapsector.h b/src/mapsector.h index ff1ca7be6..b0ed9c88c 100644 --- a/src/mapsector.h +++ b/src/mapsector.h @@ -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 { |