diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2017-08-19 09:12:54 +0200 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2017-08-19 09:12:54 +0200 |
commit | b5f7249a7edc25077d84b27b38552228b92ff763 (patch) | |
tree | 26770c25680cc0aebb9d252f8b9d91f5e07ba78a /src/mapgen_flat.h | |
parent | e53d8a75360944a494a56269fc328871cb0a60cc (diff) | |
download | minetest-b5f7249a7edc25077d84b27b38552228b92ff763.tar.gz minetest-b5f7249a7edc25077d84b27b38552228b92ff763.tar.bz2 minetest-b5f7249a7edc25077d84b27b38552228b92ff763.zip |
Code modernization: src/m* (part 2)
* empty function
* default constructor/destructor
* remove unused Map::emergeSector(a,b)
* for range-based loops
* migrate a dirs[7] table to direction tables
* remove various old unused function
Diffstat (limited to 'src/mapgen_flat.h')
-rw-r--r-- | src/mapgen_flat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapgen_flat.h b/src/mapgen_flat.h index d34e4d86c..635d40625 100644 --- a/src/mapgen_flat.h +++ b/src/mapgen_flat.h @@ -47,7 +47,7 @@ struct MapgenFlatParams : public MapgenParams NoiseParams np_cave2; MapgenFlatParams(); - ~MapgenFlatParams() {} + ~MapgenFlatParams() = default; void readParams(const Settings *settings); void writeParams(Settings *settings) const; |