aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen_valleys.h
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2017-08-18 18:18:25 +0200
committerGitHub <noreply@github.com>2017-08-18 18:18:25 +0200
commitc42753338924bb29c61081c9f269772f89bcd808 (patch)
tree3ccbf49ad802c57a1288ea978268315b68d8e65f /src/mapgen_valleys.h
parentfb196be8cf8606cfab144e2fe62d9c9d1f50932f (diff)
downloadhax-minetest-server-c42753338924bb29c61081c9f269772f89bcd808.tar.gz
hax-minetest-server-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/mapgen_valleys.h')
-rw-r--r--src/mapgen_valleys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapgen_valleys.h b/src/mapgen_valleys.h
index 1cb94860c..7b5eb187d 100644
--- a/src/mapgen_valleys.h
+++ b/src/mapgen_valleys.h
@@ -66,7 +66,7 @@ struct MapgenValleysParams : public MapgenParams {
NoiseParams np_valley_profile;
MapgenValleysParams();
- ~MapgenValleysParams() {}
+ ~MapgenValleysParams() = default;
void readParams(const Settings *settings);
void writeParams(Settings *settings) const;