X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject_factory.h;h=7ff6028f2f70912b3d2c9d7119a494105e08dd4d;hb=90a1a01a554d9d6852809dded1abe3430b9c0c2b;hp=c9a57e09950a02a7b58b54027ff46c9620246ea3;hpb=ab82bfad847516c0e9af45089f82ccaaefc7a47b;p=supertux.git diff --git a/src/object_factory.h b/src/object_factory.h index c9a57e099..7ff6028f2 100644 --- a/src/object_factory.h +++ b/src/object_factory.h @@ -31,6 +31,9 @@ using namespace SuperTux; class Factory { public: + virtual ~Factory() + { } + /** Creates a new gameobject from a lisp node. * Remember to delete the objects later */