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; };