fixed the lacking virtual desctructor

This commit is contained in:
Zeno Rogue 2020-04-18 14:32:54 +02:00
parent 3ffe8d1f4d
commit f504eef7df
1 changed files with 1 additions and 0 deletions

View File

@ -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 {