mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-14 07:02:49 +00:00
fixed the lacking virtual desctructor
This commit is contained in:
parent
3ffe8d1f4d
commit
f504eef7df
@ -30,6 +30,7 @@ EX namespace mapeditor {
|
|||||||
virtual dtshape* load(hstream& hs) = 0;
|
virtual dtshape* load(hstream& hs) = 0;
|
||||||
virtual void draw(const transmatrix& V) = 0;
|
virtual void draw(const transmatrix& V) = 0;
|
||||||
virtual ld distance(hyperpoint h) = 0;
|
virtual ld distance(hyperpoint h) = 0;
|
||||||
|
virtual ~dtshape() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct dtline : dtshape {
|
struct dtline : dtshape {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user