From f504eef7df01d2e7ed9ff81e8b45bb5a90fbb926 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 18 Apr 2020 14:32:54 +0200 Subject: [PATCH] fixed the lacking virtual desctructor --- mapeditor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/mapeditor.cpp b/mapeditor.cpp index f400f985..afc186d5 100644 --- a/mapeditor.cpp +++ b/mapeditor.cpp @@ -30,6 +30,7 @@ EX namespace mapeditor { virtual dtshape* load(hstream& hs) = 0; virtual void draw(const transmatrix& V) = 0; virtual ld distance(hyperpoint h) = 0; + virtual ~dtshape() {} }; struct dtline : dtshape {