summaryrefslogtreecommitdiff
path: root/src/mapgen_singlenode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapgen_singlenode.h')
-rw-r--r--src/mapgen_singlenode.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mapgen_singlenode.h b/src/mapgen_singlenode.h
index 38bc3e020..7678613e5 100644
--- a/src/mapgen_singlenode.h
+++ b/src/mapgen_singlenode.h
@@ -25,8 +25,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
struct MapgenSinglenodeParams : public MapgenParams
{
- MapgenSinglenodeParams() {}
- ~MapgenSinglenodeParams() {}
+ MapgenSinglenodeParams() = default;
+ ~MapgenSinglenodeParams() = default;
void readParams(const Settings *settings) {}
void writeParams(Settings *settings) const {}
@@ -40,7 +40,7 @@ public:
u8 set_light;
MapgenSinglenode(int mapgenid, MapgenParams *params, EmergeManager *emerge);
- ~MapgenSinglenode();
+ ~MapgenSinglenode() = default;
virtual MapgenType getType() const { return MAPGEN_SINGLENODE; }