1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-03-25 04:47:02 +00:00

fixed the lacking virtual desctructor

This commit is contained in:
Zeno Rogue 2020-04-18 14:32:54 +02:00
parent 3ffe8d1f4d
commit f504eef7df

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 {