aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mapgen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mapgen.h b/src/mapgen.h
index cfecb3206..cf2120a7a 100644
--- a/src/mapgen.h
+++ b/src/mapgen.h
@@ -136,6 +136,7 @@ struct MapgenFactory {
class GenElement {
public:
+ virtual ~GenElement() {}
u32 id;
std::string name;
};